Sometimes we only want part of a Python list. Maybe we only want the first few elements; maybe we only want the last few. Maybe we want every other element!
List slicing allows us to access elements of a list in a concise manner. The syntax looks like this:
start describes where the slice starts (inclusive),
end is where it ends (exclusive), and
stride describes the space between items in the sliced list. For example, a stride of
2 would select every other item from the original list to place in the sliced list.