csc-python-solutions/18/1 - Nibbofacci
2021-02-17 14:22:08 +01:00

6 lines
115 B
Plaintext

def Fibonacci(n):
if (n==1 or n==2):
return 1
else:
return Fibonacci(n-1) + Fibonacci(n-2)