Fibonacci Sequence The Python Way In Visual Studio

What is Fibonacci Series?

A Fibonacci Sequence is the integer sequence of 0, 1, 1, 2, 3, 5, 8....The first two terms are 0 and 1. All other terms are obtained by adding the preceding two terms. This means to say the nth term is the sum of (n-1)th and (n-2)th term.

The Python Logic

Open Up Visual Studio

Open Up Visual Studio

After that open visual studio project with python and select python application,


The program


Run The Application

We Will Print Sequence Of 10 Numbers.



It's a Fibonacci Sequence:

0, 1, 1, 2, 3, 5, 8, 13, 21, 34...........


We Will Go Through Lots Of Tricky Logic And Simple Ones With Visual Studio In Python. I Will Be Covering Many More Simple Logics In Python in My Next Articles.