Sudoku solver is not working properly

pls tell me the specific mistake in this code

Hello @smit1108,

There is a silly mistake in your code:


Refer to the comments for better understanding.

Hope, this would help.
Give a like if you are satisfied.