Oops, try again. Did you create a function called anti_vowel? Your code threw a "local variable 'word' referenced before assignment" error.
word = '' def anti_vowel(text): for letter in text: if not(letter in 'aeiouAEIOU'): word += letter return word
P.S. I need SINGLE-QUOTED work. I am going to copy-and-paste the whole message, so please write down only the code(and I also need indentation).