pyBegin / projects / sudoku-solver
🔢

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 backtrac…

175 linesRunnable

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().