1 | initial version |
I will assume your list consists of strings. You can build a string using a loop.
L=['a','b','c']
text=' '
for s in L:
text+=s
2 | No.2 Revision |
I will assume your list consists of strings. You can build a string using a loop.
L=['a','b','c']
text=' '
text=''
for s in L:
text+=s
Or, more succinctly, you can use the python join
command:
newtxt=''.join(L)
print newtxt