from tkinter import *
import solver
import scrape
root = Tk()
startingboard = scrape.getboard(1)


def drawboard(board):
    for i in range(len(board)):
        for j in range(len(board[i])):
            value = board[i][j]
            cell = Label(root, text=value)
            cell.grid(row=i, column=j)


def solve(board):
    drawboard(solver.main(board))


drawboard(startingboard)
solvebutton = Button(root, text='Solve', command=lambda : solve(startingboard))
solvebutton.grid(row=9, column=9)
root.mainloop()

0f3e3cf66d3e370b1799da5f15ebfb0975fe1364
<mask token>


def solve(board):
    drawboard(solver.main(board))


<mask token>

<mask token>


def drawboard(board):
    for i in range(len(board)):
        for j in range(len(board[i])):
            value = board[i][j]
            cell = Label(root, text=value)
            cell.grid(row=i, column=j)


def solve(board):
    drawboard(solver.main(board))


drawboard(startingboard)
<mask token>
solvebutton.grid(row=9, column=9)
root.mainloop()

<mask token>
root = Tk()
startingboard = scrape.getboard(1)


def drawboard(board):
    for i in range(len(board)):
        for j in range(len(board[i])):
            value = board[i][j]
            cell = Label(root, text=value)
            cell.grid(row=i, column=j)


def solve(board):
    drawboard(solver.main(board))


drawboard(startingboard)
solvebutton = Button(root, text='Solve', command=lambda : solve(startingboard))
solvebutton.grid(row=9, column=9)
root.mainloop()

from tkinter import *
import solver
import scrape
root = Tk()
startingboard = scrape.getboard(1)


def drawboard(board):
    for i in range(len(board)):
        for j in range(len(board[i])):
            value = board[i][j]
            cell = Label(root, text=value)
            cell.grid(row=i, column=j)


def solve(board):
    drawboard(solver.main(board))


drawboard(startingboard)
solvebutton = Button(root, text='Solve', command=lambda : solve(startingboard))
solvebutton.grid(row=9, column=9)
root.mainloop()
