Discuss / Python / 记录-匿名函数

记录-匿名函数

Topic source
# def is_odd(n):
#     return n%2 == 1
#
L = list(filter(lambda x:x%2==1, range(1,20)))
print(L)



  • 1

Reply