Solution Review: Generate Fibonacci Series with Generator

The solution to the 'Generate Fibonacci Series with Generator' challenge.

We'll cover the following
def Fibonacci(n):
a, b = 0, 1
for _ in range(n):
yield a, b
a, b = b, a+b
for num in Fibonacci(7):
print(num)

Get hands-on with 1200+ tech skills courses.