First, if it is a list of strings, you may simply use join this way:
>>> mylist = ['elegant', 'kerala', 'package']
>>> print ', '.join(mylist)
Then the output will be as in below. If you need to print in separate line you can use the '\n' instead of ', '
elegant, kerala, package
0 Responses to Python - Convert list to String
Something to say?