Question: use python only Write a program that will read a series of numbers from the user and maintain an average of the positive numbers entered.

 use python only Write a program that will read a series

use python only

Write a program that will read a series of numbers from the user and maintain an average of the positive numbers entered. If the user enters a number that is not positive, then the program will immediately exit and display the average. Notes: - Input could be an integer or floating point value, so you should use float() to convert the input into a number. - If no positive numbers are entered, the program should display "Average: undefined". - The average should be rounded to 2 dp when displayed. - The output must be in the format shown in the examples below, including the format of the prompt, spaces, and punctuation. For example

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!