func_code: def swap_unique_keys_values(dic):
      keys = list(dic.keys())
      vals = list(dic.values())
      newdic = {}
      i = 0
      for val in vals:
          if vals.count(val) == 1:
              newdic[val] = keys[i]
          i += 1
      return newdic