mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
4 lines
133 B
Python
4 lines
133 B
Python
# https://github.com/blueloveTH/pocketpy/issues/37
|
|
|
|
mp = map(lambda x: x**2, [1, 2, 3, 4, 5] )
|
|
assert list(mp) == [1, 4, 9, 16, 25] |