Slicing arrays, lists, and strings
Syntax:
collection[start:stop:step]
Examples:
my_array[1:4]
returns the first three elements of my_array.
my_array[::2]
returns every other element of my_array.
my_array[:-10]
returns every element of my_array, except the last 10 elements.