Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
def fibonachi(a):
  if a==1:
    return 1
  else:
    return fibonachi(a-1)+fibonachi(a-2)
b = int(input())
print(fibonachi(b))