Computer Science, asked by debneel787chakrabort, 5 hours ago

write a program in recursive sum of Fibonacci series in python​

Answers

Answered by Anonymous
0

Explanation:

Python Program to Display Fibonacci Sequence Using Recursion

def recur_fibo(n):

if n <= 1:

return n.

else:

return(recur_fibo(n-1) + recur_fibo(n-2))

# take input from the user.

nterms = int(input("How many terms? "))

# check if the number of terms is valid.

Similar questions