Question: Write a Python program that interacts with the user to gather information about students' grades. The programshould do the following: Prompt the user to enter

Write a Python program that interacts with the user to gather information about students' grades. The programshould do the following: Prompt the user to enter the number of students. Ensure that the entered value is a valid number (atleast 2 students). If an invalid number is entered, keep asking until a valid number is provided. For each student, prompt the user to enter their grade. Valid grades are 'A','B','C','D', and 'F'. Continueasking for grades until a non-valid grade is given. Compute and display the percentage of 'A' grades for each student. Identify and display "Outstanding student" for those students who have more than 50%'A' grades basedon their total grades.Provide at least three test cases including expected results to demonstrate the program's functionality. You mustuse nested while loop. Hint: check a common loop algorithm: count matches
Without using ({})

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!