Python如何控制函数执行顺序
lewis
2019-03-15
22次阅读
在Python中使用del关键字控制函数的执行顺序,具体方法如下:
def foo():
print ('in the foo')
bar()
def bar():
print ('in the bar')
foo()

发表评论:
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。