Advertisement
Reeyoo

Untitled

Aug 14th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. >>> a = [1,2,3,4]
  2. >>> a[1]
  3. 2
  4. >>> a[4]
  5. Traceback (most recent call last):
  6. File "<stdin>", line 1, in <module>
  7. IndexError: list index out of range
  8. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement