← Back to archive

Stdle #41 · iteration · 2026-07-17

What does this Python snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

for i, c in enumerate("xy", -1):
print(i, c)
Iteration
2 lines
4 attempts left

Answer & explanation