摘要: list1=[{"1":"a","2":"b"},{"2":"a","2":"b"},{1}] list2=[{"3":"a","2":"b"},{"4":"a","2":"b"},{2}] for i in range(min(len(list1),len(list2))): 阅读全文
posted @ 2020-12-17 13:25 mghhz816 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 数组和元组是可以直接相加的 list1=["q","o","p"] list2=["t"] tuple1=("a","b") tuple2=("7","b") kk=list1+list2 print(kk) ttt=tuple1+tuple2 print(ttt) 输出 ['q', 'o', 'p 阅读全文
posted @ 2020-12-17 08:06 mghhz816 阅读(237) 评论(0) 推荐(0) 编辑