Question: write python program that define two functions with proper function names: Function 1 : Prompt the user to enter the number of students. Ensure that

write python program that define two functions with proper function names: Function 1: Prompt the user to enter the number of students. Ensure that the entered value is a validnumber (at least 2 students) before it return number of students to the caller. In case an invalid numberis entered, keep asking until a valid number is provided. Function 2: Calculate and display the percentage of 'A' grades for a student based on the number of 'A'scompared to the total number of grades. Main function: ask for number of students. Then for each student, prompt the user to enter their grade.Valid grades are 'A','B','C','D', and 'F' only regardless of letter case. Your code should continue askingfor grades until a non-valid grade is given. Then it Identifies and displays "Outstanding student" for thosestudents who have more than 50%'A' grades based on their total grades. Invoke proper user definedfunctions.For functions 1 and 2 above, provide at least three test cases including expected results to demonstrate thefunctions functionality. Also add main purpose, argument and return type as comments under function header.
Without usin({})

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!