I got my code written and anti_vowel("Hey look Words!") yield desired result in the console as "Hy lk Wrds!" however I evaluated as false with the following message:
"Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "None" when it should return "Hy lk Wrds!"."
Would like to know if there's anything wrong with my code or this is more of a bug?
Below is my code:
def anti_vowel(text): final = "" for i in text: if i not in 'aeiouAEIOU': final += i print final print anti_vowel("Hey look Words!")