Yield value is wrong inside a recursive function

前端 未结 0 452
失恋的感觉
失恋的感觉 2021-01-03 17:52

This is my recursive sudoku solver. Pretty self-explanatory:

def is_valid(board, num, row, col):
    # check row
    for i in range(9):
        if board[i][co         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题