A function that can be used to control the iteration behaviour of a loop.
"Generators in Python are used to create iterators with a sequence of values."
— @github · February 22, 2024