Answer to Question #279757 in Python for zarbaab

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


1
Expert's answer
2021-12-15T02:09:54-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS