code: def reverse_dict_partial(dict_obj):
      
      new_dict = {}
      for key in dict_obj:
          new_dict[dict_obj[key]] = key
      return new_dict
docs: Reverse a dict, so each value in it maps to one of its keys.
  
      Parameters
      ----------
      dict_obj : dict
          A key-value dict.
  
      Returns
      -------
      dict
          A dict where each value maps to the key that mapped to it.
  
      Example
      -------
      >>> dicti = {'a': 1, 'b': 3}
      >>> reverse_dict_partial(dicti)
      {1: 'a', 3: 'b'}