Your function fails on anti_vowel("Hey look Words!"). It returns "Hy lk Words!" when it should return "Hy lk Wrds!".
Something went wrong, even in the compiler on my computer it shows with "o" in the "words" and at this point I have no idea what is wrong...
It is supposed to remove all the vowels in the string.
def anti_vowel(text): text=list(text) vowels="oaeiouAEIOU" s=str() for letter in text: if letter in vowels: del text[text.index(letter)] s="".join(text) return s