Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- words = input().split(' ')
- filtered = [x for x in words if len(x) % 2 == 0]
- print('\n'.join(filtered))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement