example = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
print(example[4:8])
print(example[4:10])
print(example[-5:-1])
print(example[-5:])
print(example[:7])
print(example[:])
print(example[1:8:2])
print(example[10:0:-2])
print(example[::-2])