Write the program that supports the below: A. Extremely hot (80 - 100) B. Very hot(70-79). C. Hot(60-39). D. Required temperature (39 and below)
Answers
Answered by
2
Answer:
temp = int(input('enter temperature range:')
if temp > 80 or temp < 100:
print ('extremely hot')
else if temp > 70 or temp < 79:
print ('veryhot')
else if temp > 39 or temp < 60:
print('hot')
else:
print('cold')
Similar questions