Question: In this program, you are required to apply the Python List feature. Using the List feature, write a program that allows a user to enter
In this program, you are required to apply the Python List feature. Using the List feature, write a program that allows a user to enter any number and store each number into a List. The user must enter to quit entering more numbers. Number should not be stored in the List. Display an error message if the user quits without entering any numbers. The program ends by displaying each entered value and its distance from the average.
For example, if three numbers were entered; and then the average is
So the distance between the first number and the average is
The distance between the second number and the average is
The distance between the second number and the average is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
