我正在尝试从列表中加入单词并将其转换为字符串
我尝试过 .join 方法,但由于我的列表中只有一项,所以它不起作用。
我的输入 = list = ['Vehicles, Parts & Accessories,Automotive Body Paint']
list = ['Vehicles, Parts & Accessories,Automotive Body Paint']
期望的输出 =str = Vehicles-Parts-&-Accessories-Automotive-Body-Paint
str = Vehicles-Parts-&-Accessories-Automotive-Body-Paint
aluckdog
侃侃无极
郎朗坤
相关分类