Python Forum
[Tkinter] Sudoku solver with tkinter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Sudoku solver with tkinter
#2
def readin():
    """Assumes solve wants a list"""
    puzzle = []
    for square in Square:
        puzzle.append(square.get())
    return puzzle

def readin():
    """Assumes solve wants a list of rows"""
    puzzle = []
    for r in range(9)
        row = []
        for c in range(9):
            row.append(Square[r*9+c].get()
        puzzle.append(row)
    return puzzle
Reply


Messages In This Thread
Sudoku solver with tkinter - by flash77 - May-22-2020, 04:29 PM
RE: Sudoku solver with tkinter - by deanhystad - May-22-2020, 05:54 PM
RE: Sudoku solver with tkinter - by flash77 - May-23-2020, 07:06 PM
RE: Sudoku solver with tkinter - by deanhystad - May-24-2020, 03:30 AM
RE: Sudoku solver with tkinter - by flash77 - May-24-2020, 03:41 PM
RE: Sudoku solver with tkinter - by flash77 - May-27-2020, 06:40 AM
RE: Sudoku solver with tkinter - by deanhystad - May-28-2020, 04:30 AM
RE: Sudoku solver with tkinter - by flash77 - May-28-2020, 02:32 PM
RE: Sudoku solver with tkinter - by deanhystad - May-28-2020, 02:45 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020