Run
mylist = [21, 5, 8, 52, 21, 87, 52] item = 36 index = 1000 #index out of bounds of list #insert item in mylist at index mylist.insert(index, item) print(mylist)
Output