From bd23ee895a521a62cd909083ee5d3d9c6124eeb2 Mon Sep 17 00:00:00 2001 From: Komodo Date: Thu, 27 Oct 2022 20:12:30 +0200 Subject: Create fib.rb --- entries/komodoooo/fib.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 entries/komodoooo/fib.rb (limited to 'entries/komodoooo/fib.rb') diff --git a/entries/komodoooo/fib.rb b/entries/komodoooo/fib.rb new file mode 100644 index 0000000..ce25eeb --- /dev/null +++ b/entries/komodoooo/fib.rb @@ -0,0 +1,9 @@ +def fibonacci(n) + a,b=0,1 + while a