Date:2018/1/1
Author: SoaringLee
目录
函数用法说明:
append()
list.append(object) 向列表list中添加一个对象object
例子:
>>> list=[12,34,56,78,90]
>>> list
[12, 34, 56, 78, 90]
>>> list.append(45)
>>> list
[12, 34, 56, 78, 90, 45]
extend()
list.extend(sequence) 把一个序列sequence的内容添加到列表list中
例子:
>>> list
[12, 34, 56, 78, 90, 45]
>>> seq=[23,45,67,89]
&