📜  python代码示例中的join用途是什么

📅  最后修改于: 2022-03-11 14:45:53.647000             🧑  作者: Mango

代码示例2
# example of join() function in python

numList = ['1', '2', '3', '4']
separator = ', '
print(separator.join(numList))