Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "Hey look Words!" when it should return "Hy lk Wrds!".
It should be returning new but with all of the consonants joined together, but it's only print out "Hey Yo!"
def anti_vowel(text): vowels = ['A','a','E','e','I','i','O','o','U','u'] new =  s = "" for char in text: for c in vowels: if c == 'u' and c != char: new.append(char) return s.join(new) print anti_vowel("Hey You!")