...

/

Exercise 2: Fibonacci Series Index

Exercise 2: Fibonacci Series Index

Practice generator functions by implementing a Fibonacci series function.

Problem statement

In the previous exercise, we terminated the iteration when the value in the series exceeded 25. Let’s modify the fibonacciSeries() function so that we can terminate the series when a certain number of values has been ...