func_code: def get_frequency(iterable):
      f = {}
      for i in iterable:
          if i not in f:
              f[i] = 1
          else:
              f[i] += 1
      return f
  
  
  def swap_unique_keys_values(d):
      swapped_d = {}
      frequency = get_frequency(list(d.values()))
      for k, v in list(d.items()):
          if frequency[v] != 1:
              continue
          swapped_d[v] = k
      return swapped_d