🔢
Sudoku Solver
Python175 lines· A console Sudoku generator and solver. It randomly generates a valid Sudoku board, removes cells to create a puzzle, then solves it with a backtrac…
Original project by @saltX5 — view source on GitHubReady when you are
Sudoku Solver
A console Sudoku generator and solver. It randomly generates a valid Sudoku board, removes cells to create a puzzle, then solves it with a backtracking algorithm, printing the full, unsolved, and solved boards.
How to run
python main.py
Dependencies
Standard library only.
Pyodide-runnable
Yes — it is a pure-stdlib console program that only uses random and print().
sudoku-solver.py· Python 3.x
139 linesConsole· terminal