Understanding the pause button: frames, state, and bidirectional communication



In Part 1, you learned:


✅ Generators produce values one at a time (lazy)
✅ The yield keyword pauses the function
✅ Generators use constant memory (112 bytes)
✅ Use for loops or next() to get values


Part 1: Quick Recap from Part 1

Now let's answer the big...