HOME/Articles/

simple python-example-33 (snippet)

Article Outline

Python example 'python-example-33'

python-example-33

Python example: python-example-33

#!/usr/bin/python
# -*- coding: UTF-8 -*-

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