# phonebook dictionary
phonebook={'francis':'francis@gmail.com','iris': 'iris@gmail.com','karen':'karen@gmail.com'}
name=raw_input('what name you want to check :')
# check if the name is in the dictionary
if name in phonebook.items() :
name=key
print phonebook.get(key) # if yes, print the email
else:
print 'not here'
# check the correctness of the program
# I could not get the email address after keying in the name
# please help, thanks