Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

Python and Fast API

Iterators and generators

Lazy sequences, the iterator protocol, yield, and the itertools combinators you will reach for.

3 lessons Follow in order
Use the button below to sign in and unlock lessons.
Your path

Lessons in sequence

Work through these in order—each lesson builds on the previous one.

  1. Lesson 1 of 3

    The iterator protocol

    Enroll to open · 8 min read

  2. Lesson 2 of 3

    Generators with yield

    Enroll to open · 9 min read

  3. Lesson 3 of 3

    itertools you will actually use

    Enroll to open · 8 min read

← Back to course