← Back to archive

Stdle #103 · modern · 2026-09-17

What does this Python snippet output?

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

def inner(*args, **kwargs):
return sum(args) + sum(kwargs.values())
def outer(*a, **k):
return inner(*a, **k)
print(outer(1, 2, z=3))
Modern
4 attempts left

Answer & explanation