Question: Write a script ( Ch 5 / P 1 5 . py ) that ask the user to enter five test scores. The script should

Write a script (Ch5/P15.py) that ask the user to enter five test scores. The script should display a letter grade for each score and the average test score. Write the following functions in the script:
cal_average. This function should accept five test scores as arguments and return the average of the scores.
cal_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
90-100 A
80-89 B
70-79 C
60-69 D
Below 60 F
Create Ch5/P15.py

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!