Inner function closure

Run Settings
LanguagePython
Language Version
Run Command
def a(): x = "python" def b(): print("I am from inner function {0}".format(x)) b() a() def a(): x = "python" #x 變左private varibles,之後唔可以洗走佢 def b(): print("I am from inner function {0}".format(x)) return b c = a() c()
Editor Settings
Theme
Key bindings
Full width
Lines