forked from Lephenixnoir/PythonExtra
3 lines
91 B
Python
3 lines
91 B
Python
print(list(filter(lambda x: x & 1, range(-3, 4))))
|
|
print(list(filter(None, range(-3, 4))))
|