Chatty reference · python week 4
63 words
1 min read
2026-08-16T00:00:00.000Z
Visual companion
Python
Type and operator map
Python Week 1: the first filter for runtime behavior
View
Revision summary
What this note is really saying
Short form
W4–5 combined in source # 19. Python W4–5 — Iterations & Ranges Core structures: and Patterns: - fixed repetition - condition-controlled repetition - counting - accumulation - filtering - searching - maximum/minimum - nested iteration - range generation Important: has an **exclusive stop**.

19. Python W4–5 — Iterations & Ranges
Core structures:
pythonfor x in ...:
and
pythonwhile condition:
Patterns:
- fixed repetition
- condition-controlled repetition
- counting
- accumulation
- filtering
- searching
- maximum/minimum
- nested iteration
- range generation
Important:
pythonrange(start, stop, step)
has an exclusive stop.
This is one of the classic Python traps.