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!')