Question #279757

write a program tha takes the temprature of a patient in fahrenheit as input and prints "normal" if the temtature is equal to 98.6


Expert's answer

print('To exit enter q!')
while True:
    temp = input('Enter temperature: ')
    if temp == 'q':
        break
    elif temp == '98.6':
        print('normal')

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