列表转化为字符串

a = [1, 2]
m = ','.join(a)

output:m:1, 2
posted @ 2019-07-22 12:06  你爱谈天我爱笑  阅读(537)  评论(0编辑  收藏  举报