Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = input().split()
- even_length_words = [word for word in text if len(word) % 2 == 0]
- for word in even_length_words:
- print(word)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement