## This program asks the user for a word and then builds ## a new string only consisting of the consonants of that ## word. word = raw_input("Please type in a word: ") out_word = "" for letter in word: if not(letter=="a" or letter=="e" or letter=="i" or letter=="o" or letter=="u"): out_word = out_word + letter print out_word