This video shows the basics of using the yield keyword to create generator functions in Python. Code used in this video is available in the description below.

Video on the basics of generators and generator expressions: https://www.youtube.com/watch?v=RvQkEaBMTJc&ab_channel=DataDaft