'Get the index of the unique item only
I have a list of colors as shown in the expanded code screenshot below. The list will always have 4 color values, but only one of them will be different than other 3.
But this one different value can sit at any place in the list.
What I need is, get only the index of that item which is different than other 3.
I have tried playing with distinct but it doesn't help since I only need the index not the value.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

