摘要: 八种连接列表的方式: 1 最直观的列表相加 l1 = [1, 2, 3] l2 = [6, 5, 4] l3 = [7, 8, 9] print(l1 + l2 + l3) #[1, 2, 3, 6, 5, 4, 7, 8, 9] 2 借助 itertools from itertools impo 阅读全文
posted @ 2021-01-26 14:27 青春叛逆者 阅读(301) 评论(0) 推荐(0) 编辑