1# Below follow the math operators that can be used in python
2# ** Exponent
32 ** 3 # Output: 8
4# % Modulus/Remaider
522 % 8 # Output: 6
6# // Integer division
722 // 8 # Output: 2
8# / Division
922 / 8 # Output: 2.75
10# * Multiplication
113 * 3 # Output: 9
12# - Subtraction
135 - 2 # Output: 3
14# + Addition
152 + 2 # Output: 4
1# Below follow the comparison operators that can be used in python
2# == Equal to
342 == 42 # Output: True
4# != Not equal to
5'dog' != 'cat' # Output: True
6# < Less than
745 < 42 # Output: False
8# > Greater Than
945 > 42 # Output: True
10# <= Less than or Equal to
1140 <= 40 # Output: True
12# >= Greater than or Equal to
1339 >= 40 # Output: False
1# Python code to illustrate
2# chaining comparison operators
3x = 5
4print(1 < x < 10)
5print(10 < x < 20 )
6print(x < 10 < x*10 < 100)
7print(10 > x <= 9)
8print(5 == x > 4)
9