python-lambda表达式

语法:

g = lambda x,y : x+y 

相当于:

def (x,y):

  return x+y

posted @ 2019-09-01 15:54  爱打盹的猫猫  阅读(186)  评论(0编辑  收藏  举报