作用域 全局变量: global aa=10 def func(): global a,b a=5 b=6 return bfunc()print(a)这个时候要执行下函数 否则在函数内部的全局变量的赋值不会被执行