mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
1f53ff61ff
For consistency with all of the other tests that are named builtin_XXX.py.
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))))
|