Question: Is there a way I could slightly modify this code where the user could keep entering how many floating point numbers they wanted indefinitely, without

Is there a way I could slightly modify this code where the user could keep entering how many floating point numbers they wanted indefinitely, without predeterming like in line 1, until they hit the enter key instead of entering an additional number, basically making an exception?Is there a way I could slightly modify this code where the

1 n int (input("Please enter the amount of numbers to input for finding their average 3 numbers 5 for i in range (0,n): 6 num int (input "Enter a floating point value numbers. append (num) avg sum numbers 10 print ("you entered values" format(len(numbers))) 11 print ("Total of the entered numbers sum (numbers)) 12 print ("Average of the entered numbers round (avg, 2)) 13 numbers. sort 14 print ("The numbers you entered in sorted order numbers 15 print ("The minimum number you entered min numbers 16 print ("The maximum number you entered max(numbers)) 17 18

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!