moved with better name

This commit is contained in:
Torsten Ruger
2014-05-22 19:34:13 +03:00
parent dcbbff5527
commit c3488724dc
3 changed files with 0 additions and 0 deletions

12
stash/fibo_times.ruby Normal file
View File

@@ -0,0 +1,12 @@
def fibonaccit(n)
a = 0
b = 1
(n-1).times do
tmp = a
a = b
b = tmp + b
puts b
end
end
fibonaccit( 10 )