1
0

Rewrite example

This commit is contained in:
Jeff 2023-10-10 18:11:30 -04:00
parent f5b60ea2ff
commit 3fd03325c2

View File

@ -1,11 +1,9 @@
fibonacci = function <i> { fibonacci = function <number> {
if i <= 1 { if number <= 1 {
1 1
} else if i == 2 {
2
} else { } else {
output (fibonacci - 1) + (fibonacci - 2) (fibonacci number - 1) + (fibonacci number - 2)
} }
} }
(fibonacci 20) (fibonacci 5)