This is a great introduction to generator functions. Generators are functions that can be exited and later re-entered.
You will learn what the yield key word does. How a generator function suspends execution when yield is called also known as deferred execution. You can do fun things like make an infinite number generator.
If you enjoy this video please subscribe, like and share.