Sudoku Solver - fix my problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Sudoku Solver - fix my problem

Hi there, So I am learning to code in Python and as a project, I wanted to create a sudoku solver. The code is working to a degree but I can't get it to work fully. If someone could help me to fix the code, I would most appropriate that.

12th Sep 2021, 8:15 AM
1 Answer
in the function findEmptyPlace, you don't have to pass (row and col) as arguments. Instead, think of passing the whole grid as argument.
12th Sep 2021, 9:17 AM
Amine Sahraoui
Amine Sahraoui - avatar