Python Armstrong NumberPython Average of N NumbersPython Biggest of Three NumbersPython Common DivisorsPython Composite NumberPython Condense a NumberPython Even NumberPython Factorial of a NumberPython Fibonacci SeriesPython GCDPython LCMPython Leap YearPython Multiplication TablePython Number CombinationPython Odd NumberPython Palindrome NumberPython Perfect NumberPython Prime FactorPython Prime NumberPython Sum of DigitsPython Swapping Two Numbers

Python Array ProgramsPython Converter ProgramsPython Star Patterns ProgramPython Number Patterns ProgramPython Alphabet Patterns ProgramLast Updated:

A series of numbers in which each number (Fibonacci number) is the sum of the two preceding numbers, starting from 0 and 1, i.e., 0, 1, 1, 2, 3, 5, 8, 13, 21, and so on.

**Tips**: It is recommended to use our online Fibonacci Series calculator for better understanding.

In the following example, we will find the Fibonacci Series between 0 and 100.

Python Compiler

x, y = 0, 1
limit = 100
print("Fibonacci series upto 100:")
while x < limit:
print(x, end=" ")
x, y = y, x+y

In the following example, we will display the fibonacci series from 0 to any given limit.

Python Compiler

x, y = 0, 1
limit = int(input("Enter a (int) limit: "));
print("\nFibonacci series upto %d:" % limit)
while x < limit:
print(x, end=" ")
x, y = y, x+y