Python concepts

Python · Scope

Python Scope puzzles

1 Python puzzle on scope. Read the snippet, guess the output, then reveal the answer and why Python behaves that way.