Study
Python · Control flow: if, for, while
if/elif/else, for loops over iterables with range, enumerate and zip, while loops, and break/continue/else.
- Python's for loops over items of an iterable, not over an index counter.
- A loop's else block runs only when the loop finishes without break.