Python(56)_命名空间和作用域

1  全局命名空间

a = 1
def fun():
    print(a)
fun()

猜你喜欢

转载自www.cnblogs.com/sunnybowen/p/10247259.html