Why does python string remove() run twice in Visual Studio Code?
I'm trying to make a program remove strings from a list by index value, but it keeps running remove() twice at a time. For example trying to remove the second item from a list of identical strings: list = ['banana',…