Posted By

adino on 02/20/15


Tagged


Versions (?)

30 Fibonacci Numbers Without Using Numbers In Ruby(62)


 / Published in: Ruby
 

won't be beaten by groovy

  1. s=' '.ord;a=s^s;b=s/s
  2. b.upto(s-b-b){|x|p "#{x} : #{a=b+b=a}"}

Report this snippet  

You need to login to post a comment.