def solve(S,i,j): if i == 9: return True elif S[i][j] > 0: i,j = suivante(i,j) return solve(S,i,j)