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.

Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS