最佳答案
我一直在 python2中使用 string.join ()方法,但在 python3中似乎已经删除了它。Python 3中的等效方法是什么?
string.join() method let me combine multiple strings together with a string in between every other string. For example, string.join(("a", "b", "c"), ".") would result "a.b.c".