I'm a Japanese programmer. I write about C#, Ruby and JavaScript.
def fib(n) a, b, c = 0, 1, 0 n.times do c = a a = b b += c end aendp fib(10)
Post a Comment
No comments:
Post a Comment