func_code: def swap_unique_keys_values(d):
      swappedDict = {}
      for i in d:
          if d[i] in swappedDict:
              del swappedDict[d[i]]
          else:
              swappedDict[d[i]] = i
      return swappedDict