Anti-vowel not working


I don't understand why it falis on e while working for all the other vowels.

Does anyone have an idea?


Suggest using a method that is familiar rather than reaching for a built-in that is not completely understood. The range looks a little bit off.

To get a better understanding of the mechanics of your code, use some temporary print statements so you can watch the progress. I still think you should find a different approach, but run this test for sake of seeing it in action.