Score: 0 / 0 answered
Progress: 0 of 817 qs
time elap: 00:00
Question 1: What is the output of the following code?
def outer_function():
x = 10
def inner_function():
nonlocal x
x += 1
print(x)
return inner_function
closure = outer_function()
closure()