Dec-11-2018, 03:55 PM
pythoncrazy1 Wrote:lst.remove(word)It's usually not a good idea to remove items from a list while you're iterating on that list with a for loop.
pythoncrazy1 Wrote:breakAre you going to exit the loop the first time you meet a word which opposite is not in the list?