Anonymous user
Stair-climbing puzzle: Difference between revisions
added ocaml
(→Tcl: Added implementation) |
(added ocaml) |
||
Line 50:
true))
</lang>
=={{header|OCaml}}==
<lang ocaml>let rec step_up() =
if not(step())
then (step_up(); step_up())
;;</lang>
=={{header|Python}}==
|