1.创建列表
alist = ['wang','zai','xue']
2.添加新的元素
alist.append("在学")alist.insert(2,"jinan")a = [1,2,3]b = [4,5,6]a.extend(b)此时的a变为[1,2,3,4,5,6]三个方法:1.list.append("str")2.list.insert(int,"str")3.lista.extend(listb)