Python 两个list如何拼在一起

a = []

b = [1,2]

a.extend(b)

 

那么a = [1,2]

posted @ 2021-02-08 16:55  bH1pJ  阅读(158)  评论(0编辑  收藏  举报