Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # b_map.py
- x = [1, 2, 3]
- y = list(map(lambda x: x*3, x)) # prints out [3, 6, 9]
- print(y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement