I had a list
a = [1, 2, 3]
when I did
a.insert(100, 100) [1, 2, 3, 100]
as list was originally of siz
The documentation says:
L.insert(index, object) # insert object before index
So it seems when you try inserting at index 100 it will really get the existing index on the list before 100.