Arithmetic Operators
>>> x = 56
>>> y = 45
>>> x + y
101
>>> a = 345
>>> b = 123
>>> a – b
222
>>> u = 45
>>> v = 3
>>> u * v
135
>>> a * b * u
1909575
>>> people = 6
>>> quantity = 42
>>> quantity / people
7.0
>>> x = 5
>>> y = 2
>>> y ** x
32
>>> x ** y
25
>>> x = 22
>>> y = 7
>>> x / y
3.142857142857143
>>> x % y # Finding the remainder
1
>>> 343 % 4
3
>>> 343 / 4 # Division
85.75
>>> 343 % 4 # Remainder
3
>>> 343 // 4 # Quotient
85
About the author