lambda
def __init__(self, name, score):
self.name = name
self.score = score
self.get_grade = lambda: 'A'
这里的lambda是啥意思?函数???
def __init__(self, name, score):
self.name = name
self.score = score
self.get_grade = lambda: 'A'
这里的lambda是啥意思?函数???
2016-08-11
举报