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