'''
Created on Sep 23, 2014

@author: Susan
'''

def isVowel(char):
    return char.lower() in 'aeiou'

def vowelsOnly(word):
    # return the word with the vowels only
    answer = ""
    for ch in word:
        if isVowel(ch):
            answer += ch
 #           answer = answer + ch
    return answer 


def allVowels(word):
    # returns true if word is all vowels
    answer = True
    for ch in word:
        if not isVowel(ch):
            return False

    return True

print vowelsOnly("ThisIsACrazyTest")
print allVowels("yesok")
print allVowels("aeiioaeu")