方法一: 使用join的方法
>>> " ".join(["a","b","c","d"])
'a b c d'
方法二: 使用字符串格式化拼接
>>> "%s's age is %d" % ("jerry", 18)
"jerry's age is 18"
>>>
方法三: 使用 来拼接
>>> "<<" name1 " & " name2 ">>"
'<>'
>>>
方法四: 使用for循环来处理
>>> long_string = ""
>>> for s in ["a", "b", "c", "d"]:
... long_string = s
...
>>> print(long_string)
abcd
>>>
方法五: 使用operator中的add函数结合reduce来处理
>>> import operator
>>> reduce(operator.add, ["a", "b", "c", "d"], "")
'abcd'