python-装饰器2 1.函数既“变量 def bar(): print("in the bar") def foo(): print("in the foo") bar() foo() def foo(): print("in the foo") bar() foo() def bar(): print("in the bar") foo() 匿名函数niming=lambda x:x*5print(niming(3)) 来源:https://www.cnblogs.com/kezi/p/11980569.html 标签 bar python python装饰器 python函数