def unique(values): """Finds all unique elements of a list.
>>> unique([]) [] >>> unique([1, 2, 1]) [1, 2] >>> unique([1, 2, 1, 3, 4, 2]) [1, 2, 3, 4] """ # your code here return list(set(values))
def unique(values): """Finds all unique elements of a list.
it also works without the coercion to list. return set(values) is fine.