Welcome to the Treehouse Community
Looking to learn something new?
Jordan HooverPython Web Development Techdegree Graduate 59,267 Points
Vowel Challenge Isn't Returning a Correct Answer
I don't understand why I'm getting this wrong. The code below works on my own computer.
def disemvowel(word): vowels = "AEIOU" for letter in word: if letter.Upper() in vowels: word = word.replace(letter, "") return word
Steven Parker216,136 Points
You must have an unusual Python implementation.
Because normally method names are case-sensitive, and "upper" is spelled with a lower-case "u". The challenge certainly requires it that way.