Question: PYTHON Write the following program from . The answer to each problem should include the source code created in a module (.py file) as text,
PYTHON Write the following program from . The answer to each
problem should include the source code created in a module (.py file) as
text, and its screenshot showing the program output.
15. Test Average and Grade
Write a program that asks the user to enter five test scores. The program should display a
letter grade for each score and the average test score. Write the following functions in the
program:
calc_average This function should accept five test scores as arguments and return
the average of the scores.
determine_grade This function should accept a test score as an argument and
return a letter grade for the score based on the following grading scale:
Score Letter Grade
90100 A
8089 B
7079 C
6069 D
Below 60
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
