1a[start:stop] # items start through stop-1
2a[start:] # items start through the rest of the array
3a[:stop] # items from the beginning through stop-1
4a[:] # a copy of the whole array
5
1# array[start:stop:step]
2
3# start = include everything STARTING AT this idx (inclusive)
4# stop = include everything BEFORE this idx (exclusive)
5# step = (can be committed) difference between each idx in the sequence
6
7arr = ['a', 'b', 'c', 'd', 'e']
8
9arr[2:] => ['c', 'd', 'e']
10
11arr[:4] => ['a', 'b', 'c', 'd']
12
13arr[2:4] => ['c', 'd']
14
15arr[0:5:2] => ['a', 'c', 'e']
16
17arr[:] => makes copy of arr