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)))
2024-04-11 17:33:13
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)))