Question: PYTHON Write a loop to ask for the names and grade for students in a class. Convert the student grade to a letter grade based

PYTHON

Write a loop to ask for the names and grade for students in a class. Convert the student grade to a letter grade based on the table below. Print the student name, grade and letter grade similar to the sample below. Keep asking for new students until the user enters 'Quit' to stop the loop.

Grade Range Letter Grade------------------------- Output screen sample:

90 - 100 A -----------------------------------------------Enter student name: Susan

80 - 80 B ------------------------------------------------Enter student grade: 87

70 - 79 C ------------------------------------------------Susan, 87, B

60 - 69 D -----------------------------------------------Enter student name: Quit

0 - 59 F -------------------------------------------------Thank you for using the converter!

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 Databases Questions!