...

/

Solution Review: Yield Odd Numbers From 1 to n

Solution Review: Yield Odd Numbers From 1 to n

This lesson discusses how you can create generators to return a list of odd numbers.

We'll cover the following...

Solution:

In line 3 of the following code, you can see that the ...