human
Write me a Python function to return only unique items from list.
assistant
Here is a Python function to return only unique items from list

import copy

def unique(l):
    """
    Returns a list of unique elements from l.
    """
    seen = set()
    return [x for x in l if not (x in seen or seen.add(x))]

# Enter the list
list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Calling the function
print((unique(list1)))

#Example Output
# [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

#Remember to inspect code for bugs.