Added third dimension to check valid box
This commit is contained in:
parent
fe29a16ec3
commit
580f34ebc8
@ -10,6 +10,7 @@ def isValidSudoku(board):
|
|||||||
temp.append(board[x])
|
temp.append(board[x])
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
temp = temp /3*3
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user