join()

>>> ",".join(["a", "b", "c"])
'a,b,c'
原文地址:https://www.cnblogs.com/yaos/p/7059847.html