This course explores functional techniques in Python, alongside ordinary loops and classes. It assumes you already know Python functions, collections, control flow, basic classes, and exceptions. Examples target Python 3.10 or newer.
Read the chapters in order: later examples build on earlier terms. Each chapter links to its lessons.
- Transforming values — Follow values through expressions, selection, ordering, and reduction.
- Managing effects — Separate calculations from mutation, I/O, and cached state.
- Composing behavior — Pass, configure, retain, and wrap behavior.
- Modeling and tracing — Trace recursive calls and represent alternative outcomes.
Finish with the 20-question assessment. It checks conceptual understanding, not independent programming ability.