Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Leonardo-numbers/PicoLisp/leonardo-numbers.l
Normal file
10
Task/Leonardo-numbers/PicoLisp/leonardo-numbers.l
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(de leo (A B C)
|
||||
(default A 1 B 1 C 1)
|
||||
(make
|
||||
(do 25
|
||||
(inc
|
||||
'B
|
||||
(+ (link (swap 'A B)) C) ) ) ) )
|
||||
|
||||
(println 'Leonardo (leo))
|
||||
(println 'Fibonacci (leo 0 1 0))
|
||||
Loading…
Add table
Add a link
Reference in a new issue