convert list in to string code example
Example 1: python array to string
mystring = 'hello, world'
myarray = string1.split(', ') #output => [hello, world]
myjoin1 = ', '.join(myarray) #output => hello, world
myjoin2 = ' '.join(myarray) #output => hello world
myjoin3 = ','.join(myarray) #output => hello,world
Example 2: convert all items in list to string python
map(str, mylist)
#python 3+ map( ) doesn't output a list, which is why:
list(map(str, mylist)
#change 'str' to 'float' or 'int' for other outcomes