func_code: def swap_unique_keys_values(d):
      new_d = {}
      t = []
      for k, v in list(d.items()):
          if v not in new_d:
              new_d[v] = k
          else:
              t.append(v)
      for v in t:
          del new_d[v]
      return new_d