a = True # case sensitive, so use True or False
# or
x = 0
a = bool(x) # this is False, any other number is True
# or
x = 'Non-empty string'
a = bool(x) # this is True
if a == True:
print("a is true")
def a_bigger(a, b):
if a > b and (a - b) >= 2:
return True
else:
return False
## Can all be written as just
## return (a > b and (a - b) >= 2)