Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (20 sloc) 633 Bytes
disney_characters = ["simba", "ariel", "pumba", "flounder", "nala", "ursula", "scar", "flotsam", "timon"]
def contain_u(character):
print ("U are so Uniquely U!")
def contain_i(character):
print("I bet you're Impressively Intelligent!")
def contain_o(character):
print ("O My! How Original!")
for character in disney_characters:
if "u" in character :
print(character)
contain_u(character)
elif "i" in character :
print(character)
contain_i(character)
elif "o" in character :
print(character)
contain_o(character)
else :
print(character)
print("Ehh, a's and e's are so ordinary.")