Python字符串 2019-03-28 本文已影响0人 libdream 数组转字符串方法: a = ['艺术', '名画'] print(str(a)) #输出"['艺术', '名画']",这样不正确 print(','.join(a)) #'艺术,名画',这样正确