def rechercher(): searchValue = int(raw_input("comment s'appelle le contact ?") if dico.has_key("searchValue"): print dico["searchValue"] else: print "ce contact n'existe pas"