Inner function closure 2 

Run Settings
LanguagePython
Language Version
Run Command
def outer(): x = 1 def inner1(): nonlocal x print("I am from inner function {0}".format(x)) x = x + 1 def inner2(): nonlocal x print("I am from inner2 function {0}".format(x)) x = x + 1 return inner1,inner2 c,d = outer() c() d() c() d()
Editor Settings
Theme
Key bindings
Full width
Lines