Oops, try again. Does your anti_vowel function take exactly one argument (a string)? Your code threw a "string indices must be integers, not str" error.
Attempting to finish this anti-vowel exercise on my own but can't figure it out, I may be extremely wrong but any help at all would be much appreciated.
def anti_vowel(text): newText =  vowels = "aeiouAEIOU" for i in text: if text[i] not in vowels: newText.append(text[i]) return newText