Exercise: Fibonacci Series

Implement the Fibonacci series using loops.

Problem statement

Fibonacci sequence is a series of numbers where every number is the sum of the two numbers before it. The first two numbers are 0 and 1:

Get hands-on with 1400+ tech skills courses.