Scoping 4

Run Settings
LanguagePython
Language Version
Run Command
def a(): x = 1 y = 2 def b(): global y # this y is for all, not y = 2 above y = 1 # set global y to be 1 print(y,x) b() print(y) a() print(y)
Editor Settings
Theme
Key bindings
Full width
Lines