
colors = ['red','green','blue','yellow','orange','purple','brown']

print("Print a SLICE,starting index 2 and excluding index 5:")
colors_slice=colors[2:5]
print(colors_slice)

print("Print a SLICE,starting index 2 and excluding index 5:")
colors_slice=colors[:3]
print(colors_slice)

print("Print a SLICE,starting index 2 and excluding index 5:")
colors_slice=colors[4:]
print(colors_slice)