天天看點

Python 匿名函數

匿名函數的使用
1 calc = lambda x:x*3
2 print(calc(3))