How to make element in list to a string code example
Example 1: convert all items in list to string python
mylist = [str(i) for i in mylist]
Example 2: convert list to string python
>>> mylist = ['spam', 'ham', 'eggs']
>>> print ', '.join(mylist)
spam, ham, eggs