Hi Can any one help me to solve this program?


You could print out the list you're removing from along with the value you're trying to remove from it to verify what that error message is claiming


Hi, hear we have to remove vowels. Is my program correct.


Hey. I solved it by using this method, does this help? I tried to keep it as simplistic as possible.


elliottmoore seems to have found an elegant solution. My solution is below, though I felt there must be an easier way. `

def anti_vowel(text):
    txt = ""
    character = 0
    while character <= len(text) - 1:
        if text[character] in "AEIOUaeiou":
            txt = txt
            character = character + 1
            txt = txt + text[character]
            character = character + 1
        return txt



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.