Indeks juga dapat berupa angka negatif, untuk mulai menghitung dari kanan: indeks juga dapat menjadi angka negatif, untuk mulai menghitung dari kanan:

>>> word = 'Python'
>>> word[-1]  # last character
'n'
>>> word[-2]  # second-last character
'o'
>>> word[-6]
'P'
>>> word[42]  # the word only has 6 characters
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: string index out of range
>>> s = 'supercalifragilisticexpialidocious'
>>> len(s)
34
Rubber Duck