I am working on the anti_vowel practice and using the code below. I don't understand where I went wrong. I would appreciate it if you could provide me any help.
Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "Hey look Words!" when it should return "Hy lk Wrds!".
def anti_vowel(text): for letter in text: if letter in "aeiouAEIOU": text.replace(letter, "") return text else: return text