List of Keys/index form list with the same values



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


List.IndexOf node will work here.


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


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