I have a basic question regarding this latest material of Generators and Iterators.
In the lecture, we have only seen iterators and then we were told that a function containing "yield" statement is termed a generator. next there were examples of a generator called with no variables.
So, in this question, a generator called with variables is supposed to return a list? how does the generator is it differ from any other function in terms of memory\variables?