Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- words = input().split()
- def func(s):
- return s[::2].lower()
- for i in words:
- print(func(i))
- newWords = map(func, words)
- print(list(newWords))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement