Ok my algorithm works well in this challenge. I want to know if there is any other method without using the replace method. Thanks. I want to know to expand my knowledge.
def anti_vowel(text): vowels = ['A','a','E','e','I','i','O','o','U','u'] for vowel in vowels: if vowel in text: text = text.replace(vowel, "") print text return text