Question: can someone help me correct with this Spyder python. I don't know where do I get wrong Assume that someone has collected a set of

can someone help me correct with this Spyder python. I don't know where do I get wrongcan someone help me correct with this Spyder python. I don't knowwhere do I get wrong Assume that someone has collected a set

Assume that someone has collected a set of measurements and wants some statistical data about them. Write a program that asks a user for measurements and prints the average, the maximum, and the minimum measurement. Users should enter data elements one at a time from the keyboard. All data elements should be positive numbers. The user should be allowed to enter as many measurements as they want and should signify the end of the list by entering a negative value. The negative value should not be processed as part of the data set - it simply indicates that the user has finished entering measurements. Note: Do not use any containers (e.g. list/tuple/array) to store the measurements. Do not use the built-in statistics functions min(), max(). You should implement a loop and do data input/analysis inside the loop. print("Enter numbers: ",1,3,5,4,6) num = float(input()) maxVal = num minVal = num total = num count = 1 while(num > 0): num = float(input()). if(num num): minVal = num total += num print("Maximum =",maxVal) print("Miniimum =",minval) print("Average =",(total/count))||

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!