Question: Please use python thank you. Write a program to read 5 integers, and store them into a list. Then, print the list. Ex.: if the

 Please use python thank you. Write a program to read 5

Please use python thank you.

Write a program to read 5 integers, and store them into a list. Then, print the list. Ex.: if the input is 1 2 4 3 5 The output is [1, 2, 4, 3, 5] Next, print the following sentence using a single print statement, replacing the numbers with the appropriate values from your list (calculate the average of all elements in the list): The smallest number is 1, the highest number is 5, and the average is 3.00. Finally, replace the smallest value of the list with the average value as an integer, then print the list: [3, 2, 4, 3, 5] HINT: You may find the following built-ins useful: . append() function to add elements to a list. max() /min() functions index() to find the index location of a value in a list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!