python 字符串列表的连接
strList = ["Python", "is", "good"] res = ' '.join(strList) #Python is good
res = '' for s in strList: res += s + ' ' #Python is good #最后还有个多余空格
strList = ["Python", "is", "good"] res = ' '.join(strList) #Python is good
res = '' for s in strList: res += s + ' ' #Python is good #最后还有个多余空格