I tried to find a post with this question, I only found one but he didn't find the answer.
def anti_vowel(text): for x in text: if x in "aeoiuAEOIU": text2 = text.replace(x, '') return text2
It returns "our function fails on anti_vowel("Hey look Words!"). It returns "Hey lk Wrds!" when it should return "Hy lk Wrds!".
I don't get why. any help?