Python · Generators & Iterators
What does this print? ``` i = iter([10, 20]) print(next(i, 'done')) print(next(i, 'done')) print(next(i, 'done')) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
