3 lines
85 B
Python
3 lines
85 B
Python
numbers = list(range(1, 21))
|
|
r = filter(lambda x: x % 2 == 0, numbers)
|
|
print(list(r)) |