Arithmetic Operations
Operation Operator Example Value Addition +2 + 35Subtraction -2 - 3-1Multiplication *2 * 36Division /7 / 32.66667Remainder %7 % 31Exponentiation **2 ** 0.51.41421
Python uses the order of operations - PEMDAS
5 * 2 ** 3 # 40
(5 * 2) ** 3 # 1000