students = ["windows","unix"]
#输出为:['windows', 'unix']
list的方法:
append():添加元素,追加到末尾
students.append("linux")
#输出为:['windows', 'unix', 'linux']
insert(num,"元素"):指定元素插入位置
students.insert(1,"mac")
#如果指定插入的数字比现在存在的位置的值要大,则插入的数依旧会追加到末尾
#输出为:['windows', 'mac', 'unix', 'linux']
pop():删除list末尾的元素
pop(i):指定删除
因为Tuple中的元素是不能改变的,所以不会存在上述的list方法