初始化变量global var或调用之间的区别是什么globals().update(var).
global var
globals().update(var)
谢谢
python variables global
global ×1
python ×1
variables ×1