For this interactive assignment, you will design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then display the following data: The...

1 answer below »

For this interactive assignment, you will design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then display the following data:



  • The lowest number in the list.

  • The highest number in the list.

  • The sum of the numbers in the list.

Describe your process in developing the program.





Answered Same DayMay 26, 2021

Answer To: For this interactive assignment, you will design a program that asks the user to enter a series of...

Samrakshini R answered on May 29 2021
160 Votes
a=list(input("Enter 20 numbers").split(","))
#Finding minumum number
print("The minumum number is:
"+min(a))
#Finding maximum number
print("The maximum number is: "+max(a))
#Computing sum
tot=0
for i in a:
tot=tot+int(i)
print("The total is:"+str(tot))
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here