Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "Hy lk Words!" when it should return "Hy lk Wrds!".
I have no idea why the loop is missing the "o" in "Words" when it managed to remove the ones in "look". Sorry for taking your time up, it's just that I've looked around and couldn't find anyone else with the same problem.
def anti_vowel(text): text = list(text) for i in text: if i in 'aeiouAEIOU': text.remove(i) text = ''.join(text) return text