Return to Snippet

Revision: 45940
at May 11, 2011 11:12 by silviud


Initial Code
L = [1,2,3,4,5]
s1 = ','.join(str(n) for n in L)
s1
'1,2,3,4,5'

Initial URL

                                

Initial Description

                                

Initial Title
List to string separated by comma

Initial Tags
list, python

Initial Language
Python