x = float(input("Enter any number:")) #Aks number and stores in x
|
|
if x > 5.3: #checks if x>5.3
|
|
print(x, " bigger than 5.3") #only if previous condition True
|
|
elif x < 5.3: #checks if x<5.3
|
|
print(x, " smaller than 5.3") #only if previous condition True
|
|
else: #if 1st and 2nd false
|
|
print(x, "equals 5.3") #prints equal
|