向列表list添加元素的方法 append()、extend()、insert() append()和extend都是默认在末尾插入,append的参数是单个的元素,而extend的参数是列表 变量.insert(插入位置的序号,需要插入的元素)