Hi,
In this video I tried to explain the Python Program to Print Fibonacci Series Using For Loop
Python Scripts
======================
[ Ссылка ]
Python Functions Solved
==========================
[ Ссылка ]
Python Programs Solved
============================
[ Ссылка ]
Formula for calculating the Fibonacci series is as shown below.
=====================================
The Fibonacci of n is Fibonacci(n-1) + Fibonacci(n-2)
Fibonacci(0) = 0
Fibonacci(1) = 1
Below is the python program to generate Fibonacci series of positive numbers
============================
def fib(n):
a, b = 0, 1
for x in range(n):
print("Fib of ", x, " is : ", a)
a, b = b, a+b
fib(100)
Hope you liked this video. Please subscribe to my channel for more Python related videos.
Ещё видео!