# names   =   ['Joe','Jane']
# names.append('James')
# names.append('John')
# names.remove('Joe')
# print(names)
# print('names count = ',len(names))
# names.index('John')
# print(names[0])
# print(names[0][0])
# print(names[0][:2])
# print(names[:2])

ch  =   ['a','b','c','d','e','f','g','h']
a   =   ch[0:4]
b   =   ch[4:9]
c   =   ch[:3]
d   =   ch[3:]
e   =   ch[:]
f   =   ch[0:2] +   ch[6:8]
print(a)
print(b)
print(c)
print(d)
print(e)
print(f)