Removing from a List in Place
gregpinero at gmail.com
Tue Sep 5 22:51:05 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?
>>> for item in alist:
... print item
... if item==2:
Can we make this behave more intuitiviely in Python 3000?
Chief Innovation Officer
More information about the Python-list