Retrieve the index of the first consecutive item in a list

Hi All, I wish to retrieve the first consecutive item in the list shown below. Anyone is able to show me how?

Do be mindful as the scenario may have number duplicate back to back as shown in image below like number “0”

image

If you mean that you want the first unique item from multiple lists, you can use Python

a = set(x)

Right click on the Python x input, and set it to List Access.

For the index, you can use:

a = [x.index(i) for i in set(x)]