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

  1. iter and next
  2. Iterators run out
  3. Skip a header with next
  4. Lazy is efficient