Posted By

dorseye on 08/19/09


Tagged

list python join explode implode


Versions (?)

Explode / Implode a list ( ''.join())


 / Published in: Python
 

  1. >>> V = list(V)
  2. >>> V
  3. ['s', 'p', 'a', 'm', 'm', 'y']
  4. >>> V = ''.join(V)
  5. >>> V
  6. 'spammy'
  7. >>>

Report this snippet  

You need to login to post a comment.