A recursive Python solver for the Tower of Hanoi puzzle that tracks and outputs the exact state of the rods at every step. Zero dependencies.
-
Updated
Mar 4, 2026 - Python
A recursive Python solver for the Tower of Hanoi puzzle that tracks and outputs the exact state of the rods at every step. Zero dependencies.
Add a description, image, and links to the math-puzzle topic page so that developers can more easily learn about it.
To associate your repository with the math-puzzle topic, visit your repo's landing page and select "manage topics."