# 5.4:  Test for presence of a key.

# Take user input for a key.  If the key exists in the dict, print the value for that key, but if
# the key is not found in the dict, print "not found".

dis   = { 'Mickey': 'Mouse',
          'Donald': 'Duck',
          'Goofy' : 'Dog(?)' }

char = input('please enter the name of a character: ')


# Sample program run:

# please enter the name of a character: <font color="green">Goofy</font>
# Dog(?)

# Sample program run:

# please enter the name of a character: <font color="green">Daffy</font>
# "Daffy" not found

