Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
- b=[item for item in a if item%2==0]
- print(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement