Hi guys, I don't know where's is the problem in my code, could someone help me? I think that the main problem is in line 6.

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

def anti_vowel(text):
    lst = []
    text = str(text)
    for let in text.lower():
       if let == 'a' or let == 'e' or let == 'i' or let == 'o' or let == 'u':
    return ''.join(lst)


i assume the indention error you have is a copy paste mistake.

break will break the loop, maybe use pass to do nothing?


Ok, it works :slight_smile: . Thanks for help :smile: