Raised when trying to access an element sequences using an index out of the range supported by the sequence.
my_list = 
my_list  # IndexError: list index out of range
my_list ['1'] # TypeError: list indices must be integers, not str
When slicing, indexes are automatically coerced to the supported range.