L = list(filter(lambda n: n % 2 == 1, range(1, 10))) print(L)
L = list(filter(lambda x:x%2, range(1, 20)))
Sign in to make a reply
愚者长安