python generators

Python generators are particular types of iterators that allow on-the-fly generation of values using the `yield` keyword, enabling efficient iteration without storing the entire sequence in memory.