← All sections

Module 2 · Python data types, variables, operators, and basic I/O operations

Operators

Your data-manipulation tools. The symbols that combine values into expressions — arithmetic and beyond — and the rules that decide what happens first.

Begin lesson 1 →
  1. 1Python as a calculatorprint() doesn't just show values — it works them out.
  2. 2Basic operatorsThe seven arithmetic operators, and the rules behind them.
  3. 3Operators and their prioritiesWhich operations happen first, and why parentheses always win.
  4. 4QuizTest your arithmetic-operator instincts.