my_list = ['apple', 'banana', 'orange'] my_string = ','.join(my_list) print(my_string) # 输出 'apple,banana,orange'