py_list = ['p','y','t','h','o','n']
py_tuple = ('p','y','t','h','o','n')

slice_object = slice(3)
print(py_list[slice_object])#['p','y','t']

slice_object = slice(1,5,2)
print(py_tuple[slice_object])# ('y','h')