Answer to Question #82413 in Python for Jaylan M Kavanaugh

Question #82413
Write an if/else statement that assigns True to fever if temperature is greater than 98.6; otherwise it assigns False to fever.
1
Expert's answer
2018-10-26T15:03:09-0400

temperature = float(input("Enter the temperature :"))

fever = True if temperature > 98.6 else False

print(fever)

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