How to join list of strings?
This is probably seriously easy to solve for most of you but I cannot solve this simply putting str()
around it can I?
I would like to convert this list: ['A','B','C']
into 'A B C'
.
In [1]: L = ['A', 'B', 'C']
In [2]: " ".join(L)
Out[2]: 'A B C'