8.Anti_vowel


#1



I believe it should work but it doesn't help ?


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


def anti_vowel(x):
    newlist=""
    for i in x:
        if i =='i'or i =='o'or i =='u':
            print i
        else:
            newlist = newlist + i
    return (newlist)


#2

a and e also vowels, maybe add them to your if statement?