7. 函数式编程

lambda

a = lambda s, y=2: x+y
>>> a(3)
>>> 5

results matching ""

    No results matching ""