Algorithms, functions, classes, regular expressions, iterators, generators, OOP, exceptions, NumPy, pandas, scikit-learn
https://telega.in/c/python_tasks
Questions — @dina_ladnyuk
Post #1141
2.7K
Что выведет код?
from itertools import compress
x = [1, 2, 3, 4]
y = compress(x, map(lambda i: i & 1, x))
print(*y)