my_goods = ['Mac', 'Windows' ,'Kindle', 'Phone', 'book']

print('The first three items in the list are:')
print(my_goods[:3])

print('Three items from the middle of the list are:')
print(my_goods[1: 4])

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

my_goods = ['Mac', 'Windows' ,'Kindle', 'Phone', 'book']

print('The first three items in the list are:')
print(my_goods[:3])

print('Three items from the middle of the list are:')
print(my_goods[1: 4])

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