MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / tower_of_hanoi.py

File tower_of_hanoi.py

other/tower_of_hanoi.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def move_tower(height, from_pole, to_pole, with_pole):
2 """
3 >>> move_tower(3, 'A', 'B', 'C')
4 moving disk from A to B

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected