def dictfind(dictionary, element):
 for (key, value) in dictionary.iteritems():
  if (element is value):
   return key

def dictfind ( dictionary , element ) : for ( key , value ) in dictionary . iteritems ( ) : if ( element is value ) : return key
returns a key whose value in dictionary is element or .