Answer to Question #99168 in Python for Tobe

Question #99168
Write a program that asks the user to enter ten temperatures and then finds the sum. The input temperatures should allow for decimal values.

Sample Run

Enter Temperature: 27.6
Enter Temperature: 29.5
Enter Temperature: 35
Enter Temperature: 45.5
Enter Temperature: 54
Enter Temperature: 64.4
Enter Temperature: 69
Enter Temperature: 68
Enter Temperature: 61.3
Enter Temperature: 50
Sum = 504.3
1
Expert's answer
2019-11-22T03:24:43-0500
Dear Tobe , your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Marshall Lawson
29.01.20, 22:50

s = 0 n = float(input("Enter Temperature:")) for x in range (1,11): print ("Enter temperature:"+ str(n)) s = s + n n = float(input("Enter Temperature:")) else: print("Sum = " + str(s))

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS