So I found out how to find the indexes of an item in a 2D list in Python by using this code:
def index_2d(myList, v):
    for i, x in enumerate(myList):
        if v in x:
            return (i, x.index(v))
Usage:
index_2d(myList, 3)
#Result (1, 0)
I want the output to be in two variables (like x = 1, y = 0). How can I do this?
 
    