# Fibonacci series in python

#####
*2020-02-20 11:15*

May 28, 2019 Example: Fibonacci Series is 0 1 1 2 3 5 8 13 21 34. . . . . . In this Fibonacci Series we can see first two number is 0 and 1, then next number is sum of last two like 011, then 112, then 213 and 325 like this we got the series of number. Find Fibonacci Series Using Recursion In PythonIf the number of terms is more than 2, we use a while loop to find the next term in the sequence by adding the preceding two terms. We then interchange the variables (update it) and continue on with the process. You can also solve this problem using recursion: Python program to print the Fibonacci sequence using recursion. fibonacci series in python

Generate a Fibonacci sequence in Python In the below program, we are using two numbers X and Y to store the values for the first two elements (0 and 1) of the Fibonacci sequence. After that, there is a while loop to generate the next elements of the list. It is doing