Mercurial > repo
view src/ploki/examples/fib.pk @ 9493:4f3d1f30b321
<Zarutian> le/rn essay/To essay is to try, and while doing that showing your work in writing.
author | HackBot |
---|---|
date | Sat, 29 Oct 2016 00:50:25 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
#!../ploki LET n 1 FOR loop WUNT (@fib(n) _ " ") LET n n + 1 IF n > 13 WUNT "\n" END FI NEXT loop FOR fib IF \@ > 2 KTHX @INT(@SQRT 1.25 + .5 * @fib(\@ - 1)) FI KTHX 1