← Back to archive

Stdle #80 · modern · 2026-08-25

What does this Python snippet output?

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

def f(a, b, /):
return a + b
try:
print(f(a=1, b=2))
except TypeError:
print("TypeError")
Modern
4 attempts left

Answer & explanation