Answer to Question #257168 in Python for Larry

Question #257168
Write a program that asks the user to enter ten temperatures and then finds the sum. The input temperatures should allow for decimal values.
1
Expert's answer
2021-10-27T00:25:26-0400
print("Enter 10 Temperatures")
temp_sum = 0
for i in range(10):
  temp = float(input())
  temp_sum += temp
print("Sum of temperatures is ", str(temp_sum))

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

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS