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
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