3 ms·
I got https://mitta.us https://mitta.us to do it right off the bat: bold-thick-fulmar~> !calc what is the 10th fibinnaci number? brilliant-ermine|> Writing
by kordlessagain 4y ago
I got https://mitta.us https://mitta.us to do it right off the bat:
bold-thick-fulmar~> !calc what is the 10th fibinnaci number?
brilliant-ermine|> Writing code.
// filename: synth_fib.js
// version: 0.1.1
// description: Fibonacci number calculation
var fib = [0,1];
for (var i = 2; i <= 10; i++) {
fib[i] = fib[i - 1] + fib[i - 2];
}
Sidekick(fib[10]);
brilliant-ermine|> 55