fuel-stats/collector/collector/api/resources/t.py

8 lines
90 B
Python

def fib(n):
a, b = 0, 1
for i in range(n):
a, b = b, a + b
return a