So i'm unsure why this error message appears: Oops, try again. Does your anti_vowel function take exactly one argument (a string)? Your code threw a "'type' object has no attribute 'getitem'" error.
I'm quite sure the logic of my code makes sense, but I'm unsure if there is some other kind of mistake.
def anti_vowel(text): #Removes all uppercase characters #Make a list of vowels vowels = ["aeiouAEIOU"] #Find out how long the text is lenght = len(text) value = 0 #Split up induvidual characters text = list[text] #Return the characters while char in text <= lenght: if text[value] not in vowels: return text[value] value += 1 else: return ""