IndexError
python IndexError
Raised when a sequence subscript is out of range. Slice indices are silently truncated; out-of-range integer indices raise this exception.
Raised when a sequence subscript is out of range. Slice indices are silently truncated; out-of-range integer indices raise this exception.