这是对这个问题的一个后续行动.
换句话说,问题2是:是否存在以下代码(在必要的语法中)起作用的语言:
def f(): print ('f') def g(): f() f = 42 g()
python scope
python ×1
scope ×1