[issue41774] While removing element from list using for and remove(), which has same items output is not right
Paul Moore
report at bugs.python.org
Sat Sep 12 13:17:55 EDT 2020
Paul Moore <p.f.moore at gmail.com> added the comment:
There is a bug in your program. You should not mutate the list while looping over it.
----------
nosy: +paul.moore
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41774>
_______________________________________
More information about the Python-bugs-list
mailing list