outer function 2

Run Settings
LanguagePython
Language Version
Run Command
print def outer(): x = 'hello' def inner(): x = 'python' def inner2(): nonlocal x x = 'monty' print('inner1 (before):',x) inner2() print('inner2 (after):',x) inner() print('outer:', x) outer()
Editor Settings
Theme
Key bindings
Full width
Lines