EasyOutput prediction

Reading from enclosing scope

What does this code print?

x = 10

def show():
    print(x)

show()

← → arrow keys to navigate

Sign in to save your progress.

Reading from enclosing scope - Python Functions & Scope Quiz | Unnested