Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def add_len(string):
- result = ''
- for w in split(string, ' '):
- result += w + ' ' + to_string( len(w) )
- return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement