📜  python join list with comma - Python 代码示例

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

代码示例2
my_list = ['a', 'b', 'c', 'd']
my_string = ','.join(my_list)
'a,b,c,d'