‘Yield’ can be utilized to create infinite sequences. This is achievable simply because a generator function only generates the next value when it’s needed. In this article’s an example of an infinite sequence generator: To print the concept provided to yield will have to iterate the generator object as demonstrated https://henryg702fgg5.blog-ezine.com/profile