In this video lecture, You will learn about how Generators and Iterators works, Using generators and iterators we can save a lot of memory using the yield keyword .
Python generators are an easy and simple way of creating iterators, and is mainly used to declare a function that behaves like an iterator and we will see how we can use iterators which is iter( ) and next( ).