Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [1, 2, 3, 4, 5]
- b = map(
- lambda item: item*2,
- filter(
- lambda item: item%2 == 0,
- a
- )
- )
- print(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement