← Back to archive

Stdle #102 · modern · 2026-09-16

What does this Python snippet output?

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

def f(x):
if x > 0:
return "pos"
print(f(-1))
Modern
4 attempts left

Answer & explanation