← Back to archive

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
4 attempts left

Answer & explanation