As a junior Python coder, there are many advanced concepts which I am trying to master. One of these concepts is the generator object. Although there are many articles and tutorials on the Internet about such topic, most of them are way too complicated for those who are in the beginning of their computer coding journey.
Not only most of the tutorials about advanced Python concepts are way too complicated for the beginner coder, but they also don’t offer real world examples to make the theory more concrete. Long story short, the articles don’t teach you how to apply the theory in practice through real world code. At least, most of them. Continue reading “Introduction to Python generator function with a real world example”