other.tower_of_hanoi

Functions

main()

move_disk(fp, tp)

move_tower(height, from_pole, to_pole, with_pole)

Module Contents

other.tower_of_hanoi.main()
other.tower_of_hanoi.move_disk(fp, tp)
other.tower_of_hanoi.move_tower(height, from_pole, to_pole, with_pole)
>>> move_tower(3, 'A', 'B', 'C')
moving disk from A to B
moving disk from A to C
moving disk from B to C
moving disk from A to B
moving disk from C to A
moving disk from C to B
moving disk from A to B