Question: python Write a program that by using a loop to ask the user to enter three valid test scores, then store the vald test scores
pythonWrite a program that by using a loop to ask the user to enter three valid test scores, then store the vald test scores in a list. The program should display a letter grade for each score and the average test score. Write the following functions in the program: get_valid score: This function takes no arguments. It should prompt the user to input a test score and then validate the core (if the score is less than oor greater than 100, then ask user re-enter a scoro, until user enter a valid one), finally the function returns the valid Input. Use a while loop to validate the input calc average: This function should accept three test scores as arguments and return the average of the score determine prade: This function should accept a test score as an argument and return a letter grade for the score base on the following grading scale. Score Letter Grade 90-100A BO- 70-70 C 0-50 F Note: you should first define these functions, and then use them in the appropriate place to match the desired description of the program, Example Please enter a test score 110 That is not a valids.com Pean enter a fost o 90 This student recieved and on the test Phase enter a fost score 78 This student receved on the best Please feel soon-4 That is not a valid score Please enter a tots B6 This student recieved on the The go of the two comes win 1.67
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
