List of Keys/index form list with the same values

python
dynamo

#1

Hi I trying to get the index of the x that will have the same value
But i get stuck i dont get how I am suppose to use the functions in loops.
please help


#2

List.IndexOf node will work here.


#3

I think what you want is the groupbykey node. It will automatically group same numbers in different lists.


#4

@johannaroenner if you want to stick to Python, here my solution