Question: Write a program that collects test scores from the user and provides the average score at the end. The program should continue receiving scores until
Write a program that collects test scores from the user and provides the average score at the end. The program should continue receiving scores until the user enters the stop phrase "quit". Assume at least one score will be provided. When processing the text instructions, the .strip) and .lower() or .upper() commands may be useful. I.e. when checking be sure to use. lower () or upper() and .strip(). Design Write a function that uses a while loop to read in values Uses a list to store those numbers Returns the list of Values Write a function that takes in a list as a parameter Calculates the sum of the numbers in the list Returns the average Enter a test score to add to the list type 'quit t? exit: 95 Enter a test score to add to the list type 'quit t? exit: 98 Enter a test score to add to the list type 'quit t? exit: 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
