python 之list.append和list.extend的区别. 我来答 ... extend将参数内部的元素拆分再插入, 比如: x = [1, 2, 3] x.extend([4, 5]) print (x) 得到如下结果:
確定! 回上一頁