May-10-2019, 07:15 AM
set(iterable)
is first that comes to mind, but as always - the devil is in the details:- what type of elements are there (are they hashable), any nested structures and how to deal with such if present, do you keep the order, etc.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs