Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "Hy lk Words!" when it should return "Hy lk Wrds!".
So, I don't really understand what's going on at all. It works completely fine everywhere, except that one "o" in "Words". What is it, magic? That "o" is special, and "o" in "look" are not? I'm pretty sure my code is okay, but something's wrong, and I can't find it for few days at this point. Please, help
def anti_vowel(text): check = 'aeiouAEIOU' text = list(text) for a in text: if a in check: text.remove(a) text = ''.join(text) return text