# If you don't pass a particular index to the list slice, Python will pick a default. to_five = ['A', 'B', 'C', 'D', 'E'] print to_five[3:] # prints ['D', 'E'] print ...
Here we make explicit the connection between subscript notation in mathematics and indices in Python. In mathematics: Say we have a collection of objects X. We can refer to individual elements of the ...