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])
|
||||
else:
|
||||
return False
|
||||
temp = temp /3*3
|
||||
return True
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user