I had a list
a = [1, 2, 3]
when I did
a.insert(100, 100)
[1, 2, 3, 100]
as list was originally of size 4 and I was trying to insert value at index
100 , it behaved like append instead of throwing any errors as I was trying
to insert in an index that did not even existed .
Should it not thro
Hi ,
Sorry for that mistake . Now I have posted it in python-list mailing
list .
Thanks for your guidance.
Harish
On Mon, Sep 15, 2014 at 5:01 PM, Tal Einat wrote:
> On Mon, Sep 15, 2014 at 6:18 AM, Harish Tech
> wrote:
> > I had a list
> >
> > a = [1,