# 切片

cube = [v ** 3 for v in range(1, 11)]
print('The first three items in the list are:')
print(cube[0:3])
print('Three items from the middle of the list are:')
print(cube[3:6])
print('The last three items in the list are:')
print(cube[-3:])
