how to print list with string in python code example
Example 1: python print list as string
list1 = ['1', '2', '3']
str1 = ''.join(list1)
Example 2: python print list using format
>>> '{} {}'.format('Python', 'Format')
'Python Format'
Example 3: print all objects in list python
for p in myList:
print p