Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "None" when it should return "Hy lk Wrds!".
Expect my code to give the right output and return "Hy lk Wrds!"
Replace this line with your code. def anti_vowel(text): T = "" for i in text: if i not in "aeiouAEIOU": T = T + i print T