Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Get detailed answers to your questions from a community of experts dedicated to providing accurate information. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

Write a python program to calculate the sum of three numbers and as well require the user to input the numbers.​

Sagot :

tonb

Answer:

numbers = []

for i in range(3):

 numbers.append(eval(input("Enter number: ")))

print('Sum is:', sum(numbers))

Explanation:

You want to use a loop to prevent repeating your code.