How to remove duplicates?

I used these links to solve this issues. However, I cannot solve.
https://www.w3schools.com/python/python_howto_remove_duplicates.asp

print(“Enter a list of numbers separated by spaces:”)
list = [int(s) for s in input().split()]

After this code, what should I put??

If you already have an answer to your question and it isn’t helping, then other people’s answers probably won’t help either, not unless you explain what’s missing in the answers you already have.

1 Like

What if you use a for loop and then a conditional to see if the value that you just iterated is in the original list, if it’s true then you pass to the next value, if it’s false then you append it to a new list that only have unique values