Question: Python:Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then
Python:Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then display the following data: The lowest number in the list, The highest number in the list, The total of the numbes in the list, The average of the numbers on the list. **Your solution must be written with a main function and include the following two functions:
**get_values - value-returning function: accepts a number as an argument indicating the length of a list, gets user input for a list of numbers, and returns the list of numbers. The return type for this function must be a list . Use a for loop.
**do_analysis void function: accepts a list of numbers as an argument, then calculates and displays the statistical data specified by the problem.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
