def fa(a): b = 200 c = 888 def fb(b): print(b) print(a) print(c) print(sum) return fb c = 2 sum = 10000 fa(100)(555) # python作用域:LEGB
输出:
55510088810000