The Fibonacci sequence is: 1, 1, 2 , 3, 5, 8, 13... You can see that the first and second numbers are both 1. Thereafter each number is the sum of the previous two numbers.
(a) Write a function to print the first N numbers of the Fibonacci sequence.
(b) Write a function to print the Nth number of the sequence.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.