Pretty simple stuff here but cant get it to work.
I have a list ‘list1’ containing data as such: [ [element1, [x1, y1]] , [element2, [x2, y2]], etc ]
Then there is a list ‘firstitemselected’ with 1 item [ element1, [x1, y1] ]
I use these lists in a Python Script.
I want to find the index of ‘firstelementselected’ in ‘list1’.
I use the code:
list1 = IN firstitemselected = IN OUT = list1.index(firstitemselected)
Somehow i get returned: ’ item not in list’ . But a visual check ensures that the item is definitely in the list. See for yourself:
Whats going wrong here?
Thanks in advance.