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: • How To Use yield in Python
Code used in this video is available in the pinned comment below.