Towers of Hanoi: Difference between revisions

m
(→‎Python: Graphic: Replaced left and right arrows with 'from' and 'to')
Line 3,534:
lt = curry(operator.lt)
rods = fmap(fmap(mul('__')))(
[list(tpl[0:3], tpl[1], tpl[2]])
)
h = max(map(len, rods))
Line 3,550:
)(rods))
)
return tpl[3] + '\n\n' + unlines(xs) + '\n' + ('____' * 3 * w)
 
 
9,659

edits