← Back to archive

Stdle #173 · iteration · 2026-11-26

What does this Python snippet output?

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

nums = [1, 2, 3, 4]
for n in nums:
if n == 9:
break
else:
print("no break")
Iteration
4 attempts left

Answer & explanation