Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> a = [1,2,3,4]
- >>> a[1]
- 2
- >>> a[4]
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- IndexError: list index out of range
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement