SET¶
Description¶
The set operator removes duplicate values from a list.
It returns a new list that preserves the order of first appearance (it does not return a Python set).
Example removing Duplicates¶
Returns [1], since duplicate values are removed.