Respuesta :
i = 0
total = 0
while i < 10:
temp = float(input("Enter Temperature: "))
total += temp
i += 1
print("Sum: {}".format(total))
I wrote my code in python 3.8. I hope this helps!
The program accepts 10 temperature inputs from the user, and takes the sum of the inputs gives before displaying the total sum of the temperature. The program is written in python 3 ;
temp_count = 0
#initialize the number of temperature inputs given by the user and assign to temp_count variable
sum = 0
#initialize the sum of the temperature inputs given
while(temp_count < 10):
#loop allows 10 inputs from the user
values = eval(input('Enter temperature : '))
#prompts user to input temperature values
sum+= values
#adds the inputted values to sum
temp_count+=1
#increases count of input by 1
print('sum of temperature : ', sum)
#displays the total sum
Learn more :https://brainly.com/question/18253379
