代码:
list_num = [1,2,3,4,5,6] ",".join([str(i) for i in list_num])
如果只使用代码",".join(list_num) 会报错,因此先将所有内容转为str类型