a.py 149 Bytes Edit 1 2 3 4 5 6 7 8 def func(n): if n<=2: return 1 elif n>2: value = func(n-1)+func(n-2) return value result=func(6) print(result)