cubes = [number**3 for number in range(1,11)]
print(cubes)

print('The first thress items in the list are:', cubes[:3])

print('Three items from the middle of the list are:', cubes[3:6])

print('The last three items in the list are:', cubes[-3:])