Write a python program to do the following:
(a) ask the user to enter as many integers...
![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 13.11.2019 17:31, graciearany
Write a python program to do the following:
(a) ask the user to enter as many integers from 1 to 10 as he/she wants. store the integers entered by the user in a list. every time after the user has entered an integer, use a yes/no type question to ask whether he/she wants to enter another one.
(b) display the list.
(c) calculate and display the average of the integers in the list.
(d) if the average is higher than 7, subtract 1 from every number in the list. display the modified list.
the following is an example:
enter an integer from 1 to 10: 5
enter another integer? [y/n] y
enter an integer from 1 to 10: 8
enter another integer? [y/n] y
enter an integer from 1 to 10: 9
enter another integer? [y/n] y
enter an integer from 1 to 10: 7
enter another integer? [y/n] y
enter an integer from 1 to 10: 8
enter another integer? [y/n] n
number list: [5, 8, 9, 7, 8]
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:40, penelopymorales24
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 19:00, nayo2006
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
Do you know the correct answer?
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 02.06.2021 22:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 02.06.2021 22:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 02.06.2021 22:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 02.06.2021 22:40
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/biologiya.png)