Question: Please help in python and only using a while loop Part A Write a program that asks the user for floating-point values until they enter
Please help in python and only using a while loop
Part A Write a program that asks the user for floating-point values until they enter 0 to quit, then print - the average of the values. - the smallest of the values. - the largest of the values. - the range, that is the difference between the smallest and largest. Name the file numbers.py The output : Enter a number (0 to quit): 6 Enter a number (0 to quit): 11.5 Enter a number (0 to quit): 33.33 Enter a number (0 to quit): 0 The largest value is: 33.33 The smallest value is: 6.0 The average of the values is 16.94333333333333 The range of the values is 27.33
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
