Getting a List Subset: Slicing
li = ['a', 'b', 'mpilgrim', 'z', 'example'] print li[1:3] print li[1:-1] print li[0:3]