Exercise 1: Fibonacci Sequence upto n Number Of Terms
Compute the Fibonacci series up to n number of terms.
We'll cover the following
Problem statement
Write the Fibonacci sequence of a given number
. In the Fibonacci sequence, each number is the sum of the two preceding numbers. The sequence starts with 0 and 1. Here are the first few numbers of the series:
Create a free account to access the full course.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy