python列表中的所有值转换为字符串,以及列表拼接成一个字符串 list1 = [1,2,3,4,5] list2 = [str(i) for i in list1] list3 = ','.join(list2)