Question: Using Python Programming Language, write a function named check4blocks(grid) that will test that each of the 4 blocks of the 4 4 Sudoku puzzle matrix
Using Python Programming Language, write a function named check4blocks(grid) that will test that each of the 4 blocks of the 4 4 Sudoku puzzle matrix grid contains every number n, where n = 1, 2, 3, 4. The function makes use of p(grid, row, col, n) in Question 1.
Note: this is question 1. question: writes a function named p(grid, row, col, n), in which the function will test the possibility of having number n at the row and column col of the given matrix named grid, (where n, row, col {1, 2, 3, 4}):
Note: I need all answers on python code. Please do it fast its urgent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
