python math if else code example
Example 1: python if statement
usrinput = input(">> ")
if usrinput == "Hello":
print("Hi")
elif usrinput == "Bye":
print("Bye")
else:
print("Okay...?")
Example 2: how to fix if statement in python
2 < 5
3 > 7
x = 11
x > 10
2 * x < x
type(True)