# using lambda function/Anonymous function

l = list(range(1, 16))
even_l = list(filter(lambda x: x % 2 == 0, l))
print('l:', l)
print('Even list:', even_l)

1aeef5811bada100e4414f8eedef7f1709f636d7
<mask token>

<mask token>
print('l:', l)
print('Even list:', even_l)

l = list(range(1, 16))
even_l = list(filter(lambda x: x % 2 == 0, l))
print('l:', l)
print('Even list:', even_l)

# using lambda function/Anonymous function

l = list(range(1, 16))
even_l = list(filter(lambda x: x % 2 == 0, l))
print('l:', l)
print('Even list:', even_l)
