I have a list like this:
l=[1,2,2,3,4,5,5,5]
We can see that the list list contains 5 unique values with 8 total values.
I want the indexes of the unique values from the list in list format.
So the output looks like:
indexes=[0,1,3,4,5]
How to do it most efficient way using python ?