代码示例:(标识:python_list_concat_3)
python_list_concat_3.py
list1 = ["a", "b" , "c"]
list2 = [1, 2, 3]

list1.extend(list2)
print(list1)
运行结果: