Python 两个list如何拼在一起

a = []

b = [1,2]

a.extend(b)

 

那么a = [1,2]

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