/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
L = [1,2,3,4,5] s1 = ','.join(str(n) for n in L) s1 '1,2,3,4,5'