I am working on the anti-vowel exercise and using the code I am receiving an error message. The letter 'e' doesn't seem to be recognised, even though I have included it in the vowel list.
Your function fails on anti_vowel("Hey look Words!"). It returns "Hey lk Wrds!" when it should return "Hy lk Wrds!".
def anti_vowel(text): newstr="" vowels = ('a','e','i','o','u','A','E','I','O','U') for x in text: if x in vowels: newstr = text.replace(x,"") return newstr