Python throws the error "Oops, try again. Does your anti_vowel function take exactly one argument (a string)? Your code threw a "expected a character buffer object" error."
I expected the code to get parsed through, and all vowels assigned to the vowel variable that are in the function parameter text. Then, I expected the vowels to be replaced with empty strings.
def anti_vowel(text): for char in text: vowel = char in 'aeiouAEIOU' text.replace(vowel, "") return text