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.HINT:1. Be sure to use Python version 3 or above.2. When computing the average, remember the user may have input 0 numbers!3. Be sure to comment your program adequately!4. Remember your Python code will be graded according to our class Rubric.5. Submit your Python code file. Name it XXXX-loop-till-done.py where XXXX is your name. 6. Submit also a Word document showing screen shots of successful execution.Write another program that prompts for a list of numbers as above and at the end prints out both the maximum and minimum of the numbers instead of the average.HINT:1. See hints for Exercise 1 above. 2. Be sure to comment your program adequately!3. Remember your Python code will be graded according to our class Rubric.4. Submit your Python code file. Name it XXXX-min-max.py where XXXX is your name. 5. Submit also a Word document showing screen shots of successful execution.
Consider the following information, and answer the question below. China and England are international trade…
The CPA is involved in many aspects of accounting and business. Let's discuss some other…
For your initial post, share your earliest memory of a laser. Compare and contrast your…
2. The Ajax Co. just decided to save $1,500 a month for the next five…
How to make an insertion sort to sort an array of c strings using the…
Assume the following Keynesian income-expenditure two-sector model: AD = Cp + Ip Cp = Co…