Saturday 23 December 2017

Fibonacci Number using Python Code

Fibonacci Numbers Using Pythan 

Definition :-

In mathematics,theFibonacci Number are numbers in following integer sequence 3,5,8,13,21,34,55

Fn=Fn-1 +Fn-2

where seed Values F1=1 and F2=1
The first 11 Fibonacci numbers Fn for n=0,1,2,....,11 are
f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11
0 1 1 2 3 5 8 13 21 34 55 89



PYTHON CODES



When the series start with any two consecutive user define no's


When the series start with 1 and user define Terms

No comments:

Post a Comment

IT's Good