extend是扩展,参数是可迭代的序列
append是添加子元素
>>>a = [1, 2]>>>a.extend([3])>>>a[1, 2, 3]>>>a.append([3])>>>a[1, 2, [3]]