本文收集自网络,侵删!
在python中使用del关键字控制函数的执行顺序,具体方法如下:
def foo():
print ('in the foo')
bar()
def bar():
print ('in the bar')
foo()
本文收集自网络,侵删!
在python中使用del关键字控制函数的执行顺序,具体方法如下:
def foo():
print ('in the foo')
bar()
def bar():
print ('in the bar')
foo()