Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use Python for this and use # to explain the steps. Average of Grades Write a program with a 'while' loop that asks the

Please use Python for this and use # to explain the steps. image text in transcribed
Average of Grades Write a program with a 'while' loop that asks the user to enter a series of test grades in the range 0 to 100. The user should enter a negative number to signal the end of grade input. After all the grades have been entered, the program should display the average of the grades. The average should be displayed to one decimal place. Sample execution: Python 3.43 Shell File Edit Shell Debug Options Window Help Python 3.4.3 (v3 .4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AM D64) on win32 Type "copyright", "credits" or "license 0" for more information RESTART Enter a test score,-1 to get the average: 97 Enter a test score, -1 to get the average: 96 Enter a test score, -1 to get the average: 88 Enter a test score,-1 to get the average: 74 Enter a test score, -1 to get the average: -1 The average for all the grades is: 88.8 Ln:11 Col:4

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

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago