0% found this document useful (0 votes)
19 views2 pages

Grade Making Program

The document outlines requirements for a Python program that allows a user to input grades, calculates the average grade, and provides feedback to the user based on the average. The program should prompt the user to enter grades one at a time until they enter "exit" to quit. It will validate grades are integers from 0-100 and calculate the average. The program will then print the average and feedback based on a scale and ranges of grades.

Uploaded by

Tomas Otero III
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

Grade Making Program

The document outlines requirements for a Python program that allows a user to input grades, calculates the average grade, and provides feedback to the user based on the average. The program should prompt the user to enter grades one at a time until they enter "exit" to quit. It will validate grades are integers from 0-100 and calculate the average. The program will then print the average and feedback based on a scale and ranges of grades.

Uploaded by

Tomas Otero III
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Grade Making Program

Goal

Write a Python 3 program that allows a user to input grades and calculates the average grade. The
program should provide feedback based on the average grade.

Requirements

• The program should prompt the user to enter grades one at a time. The user can enter any
number of grades.

• The program should allow the user to exit the program by entering "exit" instead of a grade.

• The program should validate the user's input to ensure that the grade is a valid integer between
0 and 100.

• The program should calculate the average grade of all the grades entered by the user.

• The program should provide feedback to the user based on the average grade. The feedback
should be based on the following scale:

• The program should print the average grade and the feedback message to the user.

Additional Details

• The program should be written in Python 3.

• The program should use decision-making (if/else statements) and looping (while loop).

• The program should allow the user to exit the program at any time by entering "exit" instead of a
grade.

• The program should handle invalid input gracefully and provide feedback to the user if
necessary.

• The program should be well-documented and easy to read.


• Feel free to use the provided code as a starting point or modify it as necessary.

• The variable use in the program should include your name initial ex. (Name: Mark John Dela
Cruz, variable to be use should be MJDCvariable1)

Sample Output

You might also like