Hey everyone! So I am trying to finish up the routine practice, and I am pretty sure my code is all good since it can identify which words are palindromes and then can take them out. However, each time I run the entire code (ispalindporems() and removePalindromes()), it completely ignores one of the words in my list.
I set up my code so that is loops through the entire list by saying "for word in aList". But in the first example ['civic', 'radar', 'hello', 'repaper', 'paper'], my final output is ['radar', 'hello', 'paper']. It doesn't even look at the word "radar", it just completely skips over it (hence why it leaves it in the list). For the second example, I get the output ['house', 'grand', 'noone', 'minim']. Again, the word "minim" isn't even taken through the loop. Does anyone know how I might be able to fix this?