Skip to content

Glossary: Python Basics

IndexError

The exception raised when you ask for a list or string position that does not exist, such as `code[10]` on a 6-character string.

Where the book teaches it