...

/

Challenge: Generate Fibonacci Series with Generator

Challenge: Generate Fibonacci Series with Generator

Generate the Fibonacci series with a generator.

Problem statement

In this problem, just like in the previous challenge, you’re required to produce the numbers in the Fibonacci series. However, you will write a generator function Fibonacci that takes a number n and creates the first n Fibonacci numbers.

This is the Fibonacci sequence: 0,1,1,2,3,5,8,13,21,34 ...

...