Math in Python
You can add, subtract, multiply, and divide numbers in Python. Beginners often confuse three operations that are extremely common in code: exponentiation (**), floor division (//), and remainder (%).
You can add, subtract, multiply, and divide numbers in Python. Beginners often confuse three operations that are extremely common in code: exponentiation (**), floor division (//), and remainder (%).