python get index of item in 2d list. Robbie_R. myList = [[1, 2], [3, 4], [5, 6]] def index_2d(myList, v): for i, x in enumerate(myList): if ...
確定! 回上一頁