Question: Coding in Python. Write a program using a while loop that will prompt the user to enter test grade scores (you can assume integer numbers).
Coding in Python. Write a program using a while loop that will prompt the user to enter test grade scores (you can assume integer numbers). You will need to total all the grades and count the number of test entered and when the user enters the ! (Exclamation point) for grade. When this happens, print to the screen the total of all scores entered, the number of test entered, and the average test score for all test. You need to enforce that all test scores are between 0 and 100. Input and Output should be similar to the below example. (15 Points)
Input
Enter Grade 1: 50
Enter Grade 2: 80
Enter Grade 3: 74
Enter Grade 4: 88
Enter Grade 5: !
Example Output
4 test were taken. The total score was 292, which is an average of 73.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
