# IndexError texts: list index out of range, tuple index out of range, string index out of range, list assignment index out of range (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/indexerror-texts-list-index-out-of-range-tuple-index-out-of-range-string-index-out-of-range-list-99a6f5a69598
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 3
- Tags: python, indexerror

[1][5], (1,)[5], 'a'[5], [].__setitem__(0,1). [].pop() -> 'pop from empty list'; deque().pop() -> 'pop from an empty deque'; [1][10**30] -> IndexError: cannot fit 'int' into an index-sized integer.
