Need help to solve a block that delete items from list

i need to delete every item that appear in a list more than once but need to keep at least one of that number. example list 1,8,9,2,8,5,1 solved need to be 1,8,9,2,5.

It's in the "List utilities" library.

Found it! thank you very much

Welcome to Snap !

Is this a homework problem? If so, just finding someone else's solutions (e.g., in a library) and turning that in mindlessly defeats the object of the exercise, which is for you to learn to be able to write it yourself. Reading someone else's code to understand it is okay, although you'll understand it much better if you struggle with it yourself first.

If it's not a homework problem, ignore me.