mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-20 12:35:34 -04:00
5 lines
179 B
Python
5 lines
179 B
Python
print(list(map(lambda x: x & 1, range(-3, 4))))
|
|
print(list(map(abs, range(-3, 4))))
|
|
print(list(map(tuple, [[i] for i in range(-3, 4)])))
|
|
print(list(map(pow, range(4), range(4))))
|