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