Skip to content

Glossary: Python Basics

Index

Also written: indexes, indices

The position number of a character in a string or an item in a list. Counting starts at 0, and negative numbers count from the end.

Where the book teaches it

Related terms

IndexError