> masteringswe_
conceptual

global - declared after assignment

What does this code output?

pythondef func():
    x = 15
    global x
    print(x)


func()
print(x)