Stair-climbing puzzle: Difference between revisions

m
→‎{{header|REXX}}: elided a function.
m (→‎{{header|REXX}}: elided a function.)
Line 887:
 
=={{header|REXX}}==
<lang rexx>step_up: do while \step(); call step_up; end
return</lang>
call step_up
end
return
 
step: return random(0,1) /*randomly step up or fail to step up.*/</lang>
 
=={{header|Ruby}}==