摘要:如何合并两个列表,今天就来探讨一下: 方法一:最笨的方法实现 list1=[1,2,3]list2=[4,5,6]new_list=[]for item in list1: new_list.append(item)for item in list2: new_list.append(item)pr
阅读全文
posted @ 2021-01-14 11:15
posted @ 2021-01-14 11:15
posted @ 2021-01-14 10:29