Question: test Average and Grade (adapted from #15) Save the file as ch5_ex3.py Write a program that asks the user to enter three test scores. The
test Average and Grade (adapted from #15) Save the file as ch5_ex3.py
Write a program that asks the user to enter three test scores. The program should display the score and letter grade for each score and the average test score and corresponding letter grade.
Your program must:
Include the function calc_average() that accepts three test scores as arguments and returns the average of the scores.
Include the function determine_grade() that accepts a test score as an argument and returns a letter grade for the score based on the following grading scale:
Score Letter Grade
90-100 A
80-89 B
70-79 C
60-69 D
0-59 F
The output should look like this:
Enter test 1 score: 98
Enter test 2 score: 92
Enter test 3 score: 56
Score Numeric Grade Letter Grade
----------------------------------------------------
test 1: 98.0 A
test 2: 92.0 A
test 3: 56.0 F
Average: 82.0 B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
