Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a program in Python 3.9 that averages a given amount of quiz grades. The user should enter how many quiz grades theyd like to

Create a program in Python 3.9 that averages a given amount of quiz grades. The user should enter how many quiz grades theyd like to average and you should loop for that number until you have received all the quiz grades. Once you have received all the quiz grades, you should average them and report the average to the user. When receiving input from your user, you should verify that it is a valid quiz. For the sake of simplicity, all of your quiz grades received from the user should be out of 100 points, with a valid quiz score ranging from 0 to 100. If the user enters an invalid quiz score, the program should loop until they have entered a valid quiz score. This validation should not affect the overall number of quizzes the user is able to enter. Hint: Youll need a nested loop for this. Finally, your program should take the users quiz average and assign an appropriate letter grade based on that average. Assume a 10-point scale for the letter grades.

Objectives:

Practice implementing loops

For loops

While loops

Practice totaling numbers in a loop structure

Practice math and formatting

Practice nesting structures

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions