Answer to Question #95766 in Python for Tobe

Question #95766
Write a program to enter a number and test if it is greater than 45.6. If the number entered is greater than 45.6, the program needs to output the phrase Greater than 45.6.
1
Expert's answer
2019-10-03T05:18:39-0400
num = float(input("Enter the number"))
if num>45.6:
    print ("Greater than 45.6")

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