Berkeley CS61A: Structure and Interpretation of Computer Programs
Explains how generator functions yield values, how generator objects resume on each `next()` call, and how lazy evaluation supports efficient iteration.
Save to open this file
Save the space, and your chats show up here
Explains how generator functions yield values, how generator objects resume on each `next()` call, and how lazy evaluation supports efficient iteration.
Save to open this file