使用extend()方法在 list1 的末尾添加 list2:
list1 = ["a", "b" , "c"]list2 = [1, 2, 3]list1.extend(list2)print(list1)
执行结果:
['a', 'b', 'c', 1, 2, 3]