Removing from a List in Place

bayerj bayerj at
Wed Sep 6 01:05:36 CEST 2006

> I'm going to assume that it's supposed to work like this, but could
> someone tell me the reasoning behind it?  I.E. why is 3 skipped?


>>> alist[2]

You are removing the third item, not the second.

More information about the Python-list mailing list