InterviewSolution
Saved Bookmarks
| 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”. |
|