#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Janice Cheng

print("# 写一个列表，列表里包含本组所有成员的名字")
student = ['Janice','Peter','Mary','Alex','Jason','Bonnie','Coco','Ben','Matthew','Roy']
print(student)
print
print("# 往中间的位置插入两个临组成员的名字")
student.insert(5,'Tmp1_David')
student.insert(6,'Tmp2_Kenny')
print(student)
print
print("# 取出第3-8的人的列表")
new_student = student[2:8]
print(new_student)
print
print("# 删除第8个人")
student.remove("Bonnie")
print(student)
print
print("# 把刚才加入的2个临的那2个人一次性删除")
del student[5:7]
print(student)
print
print("# 把组长的名字加入组长备注")
student[0] = 'Captain: Janice'
print(student)
print
print("# 每隔一個取一個")
new_student2 = student[::2]
print(new_student2)
print

