用於判斷數獨矩陣中某一處是否允許填入某個數字,這個比較簡單. def judge(data, x, y, num):. if data[y]。count(num) > 0: #行判斷.
確定! 回上一頁