Question: INSTRUCTIONS Write a program that will: Allow the user to input a grade from 0 - 1 0 0 and calculate the letter grade then

INSTRUCTIONS
Write a program that will:
Allow the user to input a grade from 0-100 and calculate the letter grade then compare it to a randomly created grade.
The output will look like so:
Program will determine the letter grade based on a percent
Please enter percentage (Ex: 89.5): 78.5
The grade is a C based on 78.5 percent
That's better than my D grade of 66.0 percent
Program will determine the letter grade based on a percent
Please enter percentage (Ex: 89.5): 25.2
The grade is a F based on 25.2 percent
That's worse than my C grade of 77.0 percent
For full credit, the grade limits should be stored in a 'dictionary' and the conditional checks should be made against the entries in that dictionary.
For example:
If your dictionary looked something like this:
grade_limits =\{'A':89.5,'B':79.5,...\}
then you could check your user input like this:
percent >= grade_limits['A']
Good Luck! Email me if you get stuck!
INSTRUCTIONS Write a program that will: Allow the

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!