nonlocal variable

Run Settings
LanguagePython
Language Version
Run Command
#a=10 def b(): def c(): nonlocal b b=10 print(b) global a b=1 a=2 print(a) c() b() print(a)
b=10 print(b)
Editor Settings
Theme
Key bindings
Full width
Lines