Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- words = input().split()
- result = ''
- for word in words:
- length = len(word)
- result += word * length
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement