Question: Design a python program to get multiple test scores for a student and store the scores in a list, drop the lowest score from the

Design a python program to get multiple test scores for a student and store the scores in a list, drop the lowest score from the list, and calculate the average score.

The program should have the following functions:

The get_scores function first asks how many test scores the user wants to enter, and then takes the input and stores the scores in a list. The function returns the list of scores.

The calculate_average function takes a score list as the parameter, drops the lowest score from the list, and calculates the average score. The function returns the average score.

The show_results function displays the average score.

The main function of the program call the above functions.

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 Databases Questions!