python greater than less than if code example
Example 1: not greater than symbol python
if not a > 70:
print(' The number is Not bigger than 70')
else:
print(' The number is DEFINITELY bigger than 70')
Example 2: how to do more than or less than as a condition in pythonb
var1 = 3
var2 = 2
if var1 > var2:
print('3 is more than 2')
if var2 < var3:
print('2 is less than 3')