标签:
strList = ["Python", "is", "good"] res = ‘ ‘.join(strList) #Python is good
res = ‘‘ for s in strList: res += s + ‘ ‘ #Python is good #最后还有个多余空格
python 字符串列表的连接
原文地址:http://www.cnblogs.com/arhatlohan/p/4916306.html