June 2017
Beginner
352 pages
8h 39m
English
An IndexError is raised when an integer index is out of range.
You can see this when you index past the end of a list:
>>> z = [1, 4, 2]>>> z[4]Traceback (most recent call last): File "<stdin>", line 1, in <module>IndexError: list index out of range
Read now
Unlock full access