MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / main

Function main

Tower-of_Hanoi/hanoi.py:22–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20c3 = " "
21
22def main():
23
24 print("")
25 print(f"{a3} | {b3} | {c3}")
26 print(f"{a2} | {b2} | {c2}")
27 print(f"{a1} | {b1} | {c1}")
28 print("")
29
30 hanoi()
31
32print("")
33print("Choose a column (1, 2, or 3) to pull the top number, then choose a column to move that number to. Numbers must always be less than the number beneath them.")

Callers 1

hanoi.pyFile · 0.70

Calls 1

hanoiFunction · 0.85

Tested by

no test coverage detected