How to join list of strings? [duplicate]

In [1]: L = ['A', 'B', 'C']
In [2]: " ".join(L)
Out[2]: 'A B C'

Leave a Comment