Home / Expert Answers / Computer Science / write-a-python-program-that-prompts-the-user-for-a-list-of-numbers-and-prints-out-the-maximum-pa990

(Solved): - # Write a Python program that prompts the user for a list of numbers and prints out the maximum ...



- # Write a Python program that prompts the user for a list of numbers and prints out the maximum and minimum
# of the number

- # Write a Python program that prompts the user for a list of numbers and prints out the maximum and minimum # of the numbers at the end when the user enters "done". Write the program to store the numbers the # user enters in a list and use the max() and min() functions to compute the maximum and minimum # numbers after the loop completes. # Enter a number: 6 # Enter a number: 2 # Enter a number: 9 # Enter a number: 3 # Enter a number: 5 # Enter a number: done # Maximum: \( 9.0 \) Minimum: \( 2.0 \)


We have an Answer from Expert

View Expert Answer

Expert Answer


# empty list lis = [] # prompt the user for input num = input("Enter a number: ") # while user does not enter done the loop asks for input and append
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe