1.

What Are Generators In Python?

Answer»

Generators are the MEANS to implement iterators. It is a NORMAL function EXCEPT that it YIELDS “expression” in the “function”.

Generators are the means to implement iterators. It is a normal function except that it yields “expression” in the “function”.



Discussion

No Comment Found