students = ["悟空", "小贝", "八戒", "波奇"] students.pop(2) students.append(诺依 red = students[0:2] blue = students[-2:] print(red) print(blue)