Jump to content

Stair-climbing puzzle: Difference between revisions

m
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
4,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.