Anonymous recursion: Difference between revisions

(→‎{{header|Déjà Vu}}: Updates example)
Line 483:
 
for j range 0 10:
!print fibo j</lang>
===With <code>recurse</code>===
<lang dejavu>fibo-2 n:
Line 499:
 
for j range 0 10:
!print fibo-2 j</lang>
 
Note that this method starts from 0, while the previous starts from 1.
Anonymous user