📜  python 将列表加入字符串 - Python 代码示例

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

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

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