Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "bcdHy lk Wrds!" when it should return "Hy lk Wrds!".

I don't know why I'm getting this error or even where the "bcd" is originating from. Is this an error with my code? If so I can't figure it out.

vowels = ['a','e','i','o','u','A','E','I','O','U']

word = []
def anti_vowel(x):
        for char in x:
            if char not in vowels:
        return "".join(word)


for validation the exercise calls the function with different strings as argument, but not the whole script, only the function.

so place vowels and word inside the function


Thank you so much. It's always something so simple.


you're welcome