Question: Your Task: In this lab you will write two functions, caling them from the main code. Steps: Ask the user for how may grades they

Your Task:
In this lab you will write two functions, caling them from the main code.
Steps:
Ask the user for how may grades they want to enter
Then in a function called getGrade (), ask for each grace one-by-one building them ints a list.
This function will receive the number of gades passed into it
Check to make sure the grade entered is between 0 and 100 inclusive (assume a number was entered.
it wili return the list of grade values
After receiving all the grades, print the sorted grades on one line, comma-separated as shown 1,2,3(no square brackets or comma after the last item).
You will write a function called ListStats()
It will receive the list of grades as a parameter
It wil calculate the average, median, standard deviation, min and max of the list
It will return a tuple containing the average median, standard deviation, min and max e
(in that order).
With the returned statistics values as a tuple print the values to 1 decimal place.
You must deal with the statitics as a tuple and NOT separate variables
Your Task: In this lab you will write two

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!