New submission from Sreedevi <sreedevi...@gmail.com>:
Define a list which has all same elements. While removing the same element from list using for loop and by using remove() method, output should be empty list, but the output we get is one element is unremoved ---------- assignee: terry.reedy components: IDLE, Windows files: listrepxxx.py messages: 376803 nosy: paul.moore, sreedevi.ha, steve.dower, terry.reedy, tim.golden, zach.ware priority: normal severity: normal status: open title: While removing element from list using for and remove(), which has same items output is not right type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file49454/listrepxxx.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41774> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com