函数即变量

def a(x):
    print('%s'%x)
x=1
def b():
x=2
print('%s'%x) def c():
x=3
print('%s'%x) c() b() a('ok')
原文地址:https://www.cnblogs.com/shengbei/p/9029571.html