This video goes over the basics of generators and generator expressions in Python. Generators are a useful way for creating sequences of values without storing the values in memory.

Video on using yield to make generator functions: https://www.youtube.com/watch?v=XBRlAxdUWDc&ab_channel=DataDaft

Code used in this video is available in the pinned comment below.