Operators & expressions

Operators combine values into expressions — the maths and comparisons behind every decision.

Beyond `+ - * /`, three pull their weight constantly: `//` (floor division, drops the remainder), `%` (modulo, the remainder), and `**` (power).

7 // 2   # 3
7 % 2    # 1
2 ** 3   # 8

More lessons in Python basics