python使用join,列表中的元素必须时字符串的 a = [1,2,3] print(','.join(a)) 由于列表a中的元素是int型,运行这段代码,会报错 TypeError: sequence item 0: expected str instance, in