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")
Comments
Leave a comment