code: def key_assoc_val(d, func, exclude=None):
      
      vs = list(d.values())
      ks = list(d.keys())
      key = ks[vs.index(func(vs))]
      return key
docs: return the key associated with the value returned by func