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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started