Towers of Hanoi: Difference between revisions
→Python: Graphic: Replaced left and right arrows with 'from' and 'to'
m (→Python - Graphic: (Updated caption positions and arrows directions)) |
(→Python: Graphic: Replaced left and right arrows with 'from' and 'to') |
||
Line 3,558:
def go(ab):
a, b = ab
return [labels[a], '
labels[b], '
]
return lambda ab: go(ab)
Line 3,687:
______
________________________
left
____
______ __
________________________
left
______ ____ __
________________________
__
______ ____
________________________
left
__
____ ______
________________________
left
__ ____ ______
________________________
mid
____
__ ______
________________________
left
__
|