Stdle #57 · iteration · 2026-08-02
What does this Python snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
it = iter("ab")next(it)next(it)print(next(it, "end"))Iteration
Stdle #57 · iteration · 2026-08-02
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
it = iter("ab")next(it)next(it)print(next(it, "end"))