mylist=[1,2,3]
#print(mylist[10])
# #Traceback (most recent call last):
#   File "d:/Python/Learn Python/LISTS.Lists/listexercise2.py", line 2, in <module>
#     print(mylist[10])
# IndexError: list index out of range
# 
#   this will happen if we use mylist[10], this can happen# 
# #
print(mylist[2])