📅  最后修改于: 2022-03-11 14:46:35.459000             🧑  作者: Mango
def sum ( a, b ): # non anonymous
return a+b
print (sum(1, 2)) # 3
sum = lambda a,b: (a+b) # anonymous / lambda
print (sum(1, 2)) # 3