🌈 搜索
📅  最后修改于: 2022-03-11 14:46:20.930000             🧑  作者: Mango
>>> sentence = ['this','is','a','sentence'] >>> '-'.join(sentence) 'this-is-a-sentence'