Answer to Question #276080 in Python for maheli

Question #276080

Write an Algorithm to input these ten values and get the average temperature for that day. if the average temperature value is in between 970 Fahrenheit and 990 Fahrenheit then display the message “Your body temperature is normal…”. If it is more than 100.40 Fahrenheit then display the message “You have a fever caused by an infection or illness…”


1
Expert's answer
2021-12-06T19:23:46-0500
list1 = []
for i in range(10):
    list1.append(int(input('Enter temperature here: '))) 
temp = sum(list1)/10
if 970 <= temp <= 990:
    print('Your body temperature is normal…')
elif temp >= 1040:
    print('You have a fever caused by an infection or illness…”')

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