func_code: def swap_unique_keys_values(a):
      lis = []
      for no in a:
          lis.append(a[no])
      dir = {}
      print(lis)
      for i in a:
          if lis.count(no) < 2:
              dir[a[i]] = i
      return dir