numbers = [5, 2, 8, 5, 1, 2, 10]

result = sorted(set(numbers))

for i in result:
    print(i, end=" ")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: