Anyone can help me, I have a list 2D and I want to know index of myList in 2D, but I just know first value of that index, for example I just know 'a2' and I want to know index of list that contain 'a2' in first value because I want to access that list example I wanna to access ['a2', 'b1'] by know 'a2' :
myList2= [['a1', 'b2', 'c1'], ['a2', 'b1'], ['b1', 'c2'], ['b2', 'c1'], ['c1'], ['c2']]
Other case....if myList2 is a list of object of class point.