Anti Vowel appearing Vowel issue


#1



https://www.codecademy.com/courses/python-intermediate-en-rCQKw/1/2?curriculum_id=4f89dab3d788890003000096


I am having issues removing the vowels with my loops. At times it seems like it only removes the first, but other times it seems to remove completely random vowels.

When I run my code, it removes all vowels except for the last one in the word "Words!"


I expect the code to remove all of the vowels


def anti_vowel(text):
    word=[]
    vowels=['a','e','i','o','u','A','E','I','O','U']
    for char in text:
        word.append(char)
    print word
    for let in word:
        for v in vowels:
            if let==v:
                word.remove(let)
    print ''.join(word)
    return ''.join(word)

anti_vowel('Hey look Words!')


#2

my suggestion for you is to use second list ( copy of word ) and remove vowel from it ( not from word )
like this
word1=word[:]