第三十三题

题目:
按逗号分隔列表。

L = [1,2,3,4,5]
s1 = ','.join(str(n) for n in L)
print (s1)
posted @ 2019-10-08 15:20  Franzqing  阅读(74)  评论(0编辑  收藏  举报