code: def remove_duplicates(slist):
      
      unique = list(set(slist))
      difference = len(slist) - len(unique)
      if difference == 1:
          write_message("Removed one duplicate entry from input list.\n")
      if difference > 1:
          write_message("Removed %i duplicate entries from input list.\n" % difference)
      return unique
docs: Checks input lists for duplicates and returns
      a list with unique entries