Task: Sort and Remove Duplicates from Python List
Task: Sort and Remove Duplicates from Python List: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that reads a list of strings from an input file, removes duplicate entries, sorts the remaining items alphabetically, and writes the result to an output file.
The task
Create a Python script that reads a list of strings from an input file, removes duplicate entries, sorts the remaining items alphabetically, and writes the result to an output file.
Part of PrimeIntellect/Terminal-Lego-15k.