Discuss / Python / 练习

练习

Topic source

Teresa委

#1 Created at ... [Delete] [Delete and Lock User]
def is_odd(n):
    return n % 2 == 1

L = list(filter(lambda n: n % 2 == 1, range(1, 20)))
print(L)


  • 1

Reply