# boolean values
True
False
9
9999999999999
9999999999999999999999
'abc'
'abcaaaaaaaaaaaa'
'abcaaaaaaaaaaaaaaaaaaaaaa'

spam = True


# comparison operators
'''
==  equal to
!=  not equal to
<   less than
>   greater than
<=  less than or equal to
>=  greater than or equal to
'''

42 == 42 # True
42 == 'Herro' # False
42 == 41 # False
2 != 3 # True
42 < 100 # True
42 > 100 # False
42 < 42 # False
42 <= 42 # True

myAge = 26
myAge < 30 # True
42 == '42' # False
42.0 == 42 # True
42 != 42 # False


# boolean operators
# and
True and True # True
True and False # False
False and True # False
False and False # False

# or
True or True # True
True or False # True
False or True # True
False or False # False

# not
not True # False
not False # True

myAge = 26
myPet = 'cat'
myAge > 20 and myPet == 'cat' # True