Question: In this assignment, you are to write a Python program that (1) continuously asks the user to enter an integer score until a 'q'

In this assignment, you are to write a Python program that (1) continuously asks the user to enter an integer

In this assignment, you are to write a Python program that (1) continuously asks the user to enter an integer score until a 'q' is entered; (2) computes the average score; (3) computes a letter grade based on the average score, and (4) prints the number of scores entered, the average score and the letter grade. Note the letter grade is determined as: (1) If the average score is greater than or equal to 90, the letter grade is A; (2) If the average score is greater than or equal to 80 but less than 90, the letter grade is B; (3) If the average score is greater than or equal to 70 but less than 80, the letter grade is C; (4) If the average score is greater than or equal to 60 but less than 70, the letter grade is D; (5) If the average score is less than 60, the letter grade is F.> For example, if the scores entered are: 100 80 30 q Your program should report something like: The number of scores entered is 3, the average is 70.0, and the letter grade is C. Please submit your .py file in Canvas.

Step by Step Solution

3.51 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The progra... View full answer

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!