Solution Review: Yield Fibonacci Sequence From 1st to Nth Number
This lesson discusses how you can use generators to return the first n terms of the Fibonacci sequence.
We'll cover the following...
Solution:
The first and second terms of the Fibonacci sequence are 0 and 1 respectively. Each successive term ...