Question: In python, write a program that reads a list of scores and then assigns grades Have your program: Use 100 for the best score Begin
In python, write a program that reads a list of scores and then assigns grades
Have your program:
Use 100 for the best score
Begin the program and each function with a descriptive comment.
Define main( ) to call the two functions described below.
Define a function to prompt the user to enter valid scores until they enter a sentinel value -999. Have this function both create and return a list of these scores. Do not store -999 in the list!
Have main( ) then pass this the list to a second function which traverses the list of scores printing them along with their appropriate grade.
Run your program with a score within each of the possible grade ranges. See the sample output below.
Use local variables, rather than global.
Use structured code (e.g., no unstructured exits from loops).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
