hone
.sh
Browse topics
Learn
Software
Python
Iterators and Generators
Iterators and Generators
How Python loops really work, lazy generators, and context managers for clean set-up and tidy-up.
01
How a For Loop Works
easy
→
02
Write a Generator
easy
Pro
→
03
Lazy Evaluation Pitfalls
medium
Pro
→
04
Context Managers
medium
Pro
→
05
Use the Itertools Module
medium
Pro
→
06
Build a Generator Pipeline
hard
Pro
→