MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / main

Function main

other/tower_of_hanoi.py:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def main():
23 height = int(input("Height of hanoi: ").strip())
24 move_tower(height, "A", "B", "C")
25
26
27if __name__ == "__main__":

Callers 1

tower_of_hanoi.pyFile · 0.70

Calls 1

move_towerFunction · 0.85

Tested by

no test coverage detected