Advertisement
Glenpl

Untitled

Aug 20th, 2015
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. def add_len(string):
  2. result = ''
  3. for w in split(string, ' '):
  4. result += w + ' ' + to_string( len(w) )
  5. return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement