> masteringswe_
conceptual

global - mutate without the keyword

What does this code output?

pythonx = [1,2,3]

def func():
    x[0] += 10
    print(x)

print(x)
func()
print(x)