python "".join() 出错TypeError: sequence item 0: expected string

python中使用join链接list时出现类型错误的解决办法 例:>>> ls = [1,2,3,NULL,NONE]>>> print ','.join(ls)Traceback (most recent call last):File "<stdin>", line 1, in <module>TypeError: sequence item 0: expected string, int
相关文章
相关标签/搜索