print('Hello world!')
def name(params):
    x = 0
    y = 0
    z = 0
    xy = None
    while params[y][x] != 3:
        for A in params[y]:
            if A == 1:
                break
            if A == 3:
                return None
            if (x < len(params[y])-1):
                if (z == 0):
                    x += 1
                else:
                    x += z
            else:
                break
        if (0 < y < len(params)-1):
                y += 1
        else:
            if (x < len(params[y])-1):
                if (z == 0):
                    xy = (x,y)
                    z = 1
                    break
                else:
                    x -= z
            else:
                y += 1
        P = [x,y]
        print(P)
name([[0,1,3],
      [0,0,0]
     ])
                     
                 
            

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: