标签:匿名 alt lis mamicode image lam info list nbsp
lambda x:x*x
def f(x):
return x*x
def is_odd(n): return n % 2 == 1 L = list(filter(is_odd, range(1, 20))) L = list(filter(lambda x:x%2==1, range(1, 20)))
标签:匿名 alt lis mamicode image lam info list nbsp
原文地址:https://www.cnblogs.com/soberkkk/p/12631545.html