← Back to archive

Stdle #144 · iteration · 2026-10-28

What does this Python snippet output?

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

def gen():
print("start")
yield 1
g = gen()
print("made")
Iteration
4 attempts left

Answer & explanation