An index identifies a position in a sequence. In Python, the first character of a string has index 0, the next has index 1 and so on. This convention makes the index match the number of steps from the beginning: to reach the first character, move zero steps.
You can use an index to retrieve one character, but an index outside the sequence raises an error. Keeping the length separate from the last valid index prevents a common mistake: a string with five characters has indexes 0 through 4.