Stair-climbing puzzle: Difference between revisions
m
→{{header|Julia}}
mNo edit summary |
|||
Line 679:
=={{header|Julia}}==
As specified, shorter and fewer numbers preferred. It may be supposed that the robot would reach the bottom of any steps well before blowing the stack to reboot.
<lang julia>
step_up() = while !step() step_up() end
|