The message says "Did you create a function called anti_vowel? Your code threw a "global name 'a' is not defined" error." I don't understand why this message shows up, since I have created the function. Can anyone help me out here?
def anti_vowel(text): textn=text.lower() length=len(text) vowels=[a,e,i,o,u] for i in range (0,length): for x in vowels: if x==textn[i]: text.remove(text[i]) return text