How to Find Fibonacci Series in Python | Bharat IT Connect | Fibonacci Sequence

preview_player
Показать описание
We will discuss about Fibonacci Series

Working :
Step 1. Start
Step 2. Initialize val, n1, n2, count variable to 0, 0, 1, 0.
Step 3. Take a user input and store into int type num variable.
Step 4. Run a while loop num greater than count.
Step 5. Inside loop, print n1, then using arithmetic addition method, and calculate the val, where val = n1 + n2. Then initialize n1 = n2 and n2 = val.
Step 6. Inside while loop, increase count variable by 1
Stop 7. Stop

#shorts #python #pythonprogramming

Like | Comment | Share
--------------------------------------------------

Tags:
how to find fibonacci series in python,Bharat IT Connect,how to find fibonacci numbers,how to find fibonacci series in java,how to find fibonacci sequence,how to find fibonacci series,fibonacci series in c,fibonacci series in python,fibonacci series,fibonacci series using while loop,programming shorts,programming for beginners,coding tricks in python,coding tricks in hindi,coding tricks and tips,coding tips and tricks for beginners
Рекомендации по теме