Generator functions vs for loops

How could you pass from a for loop solution to a generator?

Have a look to this code:  https://github.com/ndrini/generator-vs-for-loops

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *