The minesweeper in python assignment expert

The answer to your question.

def check_mine[x,y,size_field,field]:
    check_lst=[[-1,-1], [0,-1], [1,-1],
               [-1,0],          [1,0],
               [-1,1],  [0,1],  [1,1]]
    list_mine=[]
    for cort in check_lst:
        x1=cort[0]+x
        y1=cort[1]+y
        if x1>0 and x10 and y1

Chủ Đề