← Back to archive

Stdle #94 · modern · 2026-09-08

What does this Python snippet output?

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

def trace(fn):
def wrap(*a):
return fn(*a) * 2
return wrap
@trace
def add(x, y):
return x + y
print(add(3, 4))
Modern
4 attempts left

Answer & explanation