It seems like the last “o” in “Words” is skipped. This is the error message.
Your code looks a bit off--it threw a "'str' object has no attribute 'copy'" error. Check the Hint if you need help!
I would expect it to run smoothly since it already removed the "o"s in look. Why is the “o” in “Words” skipped?
def anti_vowel(text): l= s="" for char in text: l.append(char) for c in l: if c in 'aeiouAEIOU': l.remove(c) for n in l: s = s + n return s