Python · Lesson 11.1 · Pro
Iterators
What a for loop really does, and why some things can only be looped over once.
In this lesson
- iter and next
- Iterators run out
- Skip a header with next
- Lazy is efficient
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.