sudosol

sudoku solver
Index Commits Files Refs LICENSE
main.py (236B)
   1 #!/usr/bin/env python3
   2 
   3 from sudoku import Sudoku
   4 
   5 file_path = "sudoku.txt"
   6 
   7 def main():
   8     s = Sudoku(9)
   9     s.load_from_file(file_path)
  10 
  11     s.print()
  12     print("")
  13     s.solve()
  14 
  15     s.print()
  16 
  17 if __name__ == "__main__":
  18     main()