Question: Make a .py file called Fx_2. Then, perform the following exercise. Write a program which repeatedly reads numbers until the user enters done. Once done
Make a .py file called Fx_2. Then, perform the following exercise.
Write a program which repeatedly reads numbers until the user enters done. Once done is entered, print out the total, count, and average of the numbers. If the user enters anything other than a number, detect their mistake using try and except and print an error message and skip to the next number
Note that this is done WITHOUT storing the numbers in a variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
