powered by
This function checks if a 9 by 9 grid is a complete sudoku grid (each number appear only once in its row,column and box )
check_grid(x)
A sudoku grid
True if x is a cpmlete sudoku grid False if x is not
# NOT RUN { check_grid(x=grid_gen_cplt()) check_grid(x=grid_gen(54)) # }
Run the code above in your browser using DataLab