convert list to string in python code example
Example 1: list to string python
>>> L = [1,2,3]
>>> " ".join(str(x) for x in L)
'1 2 3'
Example 2: how to convert a list to a string in python
array = []
STR = ''
for i in array:
STR = STR+i