源代码
def myfunc(): global x x = 100 myfunc() print(x)
运行结果