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 : Prompt the user to enter the number of students. Ensure that the entered value is a validnumber at least 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 : 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 ABCD and F only regardless of letter case. Your code should continue askingfor grades until a nonvalid grade is given. Then it Identifies and displays "Outstanding student" for thosestudents who have more than A grades based on their total grades. Invoke proper user definedfunctions.For functions and 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
