The code is working fine, I'm getting the right answer, but I still get an error message that says - Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "None" when it should return "Hy lk Wrds!".
What could be wrong with my code?
Here's my code -
def anti_vowel(text): for letter in text: if letter in "aeiouAEIOU": pass else: print letter print anti_vowel("Hey look Words!")