8 lines
115 B
Python
8 lines
115 B
Python
|
import sys
|
||
|
def fib(n):
|
||
|
if n < 2:
|
||
|
return n
|
||
|
return fib(n-1) + fib(n-2)
|
||
|
|
||
|
print(fib(int(sys.argv[1])))
|