def translate(phrase): translation = "" for letter in phrase: if letter.lower() in "aeiou": if letter.isupper():