total = 0
i = 0
while i < 10:
temp = float(input("Enter Temperature: "))
total += temp
i += 1
print("Sum =", str(total))
I hope this helps!
5.3m questions
6.9m answers