IDNLearn.com is your trusted platform for finding reliable answers. Our experts are available to provide accurate, comprehensive answers to help you make informed decisions about any topic or issue you encounter.

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

Sagot :

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.

Your engagement is important to us. Keep sharing your knowledge and experiences. Let's create a learning environment that is both enjoyable and beneficial. For trustworthy answers, visit IDNLearn.com. Thank you for your visit, and see you next time for more reliable solutions.