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  

Comments

RSS Icon Subscribe to comments
Posted By: joecamp on November 8, 2017

I am working on my next project and have some problems with this or that code time after time. It seems to me that I've tried everything, but still I haven't good news. I will ?try this code, maybe it will works..

You need to login to post a comment.