func_code: def swap_unique_keys_values(d):
      a = [v for k, v in list(d.items())]
      for i in a:
          if 1 < a.count(i):
              a.remove(i)
      e = {}
      for k, v in list(d.items()):
          if v in a:
              e[v] = k
      return e