Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (8 sloc) 0.13 kB
# calculate Fibonacci(20)
# for benchmark
def fib(n):
if n<2:
return n
else:
return fib(n-2)+fib(n-1)
print fib(20)
Jump to Line
Something went wrong with that request. Please try again.