摘要: 1-1-1 def bar(): print('in the bar') def foo(): print('in the foo') bar() foo() 1-1-2 如果把 bar 放在 foo 后面 def foo(): print('in the foo') bar() def bar() 阅读全文
posted @ 2020-11-12 16:06 Malakh 阅读(137) 评论(2) 推荐(1) 编辑
摘要: def test(name,age=111,*args,**kwargs): print(name) print(age) print(args) print(kwargs) logger("TEST") def logger(source): print("from %s" % source) t 阅读全文
posted @ 2020-11-12 11:31 Malakh 阅读(95) 评论(2) 推荐(0) 编辑