Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 186 Bytes

File metadata and controls

11 lines (11 loc) · 186 Bytes
>>> li = ['a', 'b', 'c', 'd']
>>> li[0]
'a'
>>> li[-1]
'd'
>>> li[4]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: list index out of range