Iterators and Generators
Choose one option for each question. This test focuses on Python iteration internals. Most questions are code-based and use longer scenarios involving iterable-to-iterator conversion, manual advancement with next(), generator functions with yield, lazy value production, and generator exhaustion.