Stdle #145 · modern · 2026-10-29
What does this Python snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
def outer(): x = "outer" def mid(): nonlocal x x = "mid" mid() return xprint(outer())Modern