function in of generators
Answers
Answered by
0
Explanation:
- In contrast, a generator is a function that can stop midway and then continue from where it stopped. Generators are a special class of functions that simplify the task of writing iterators. A generator is a function that produces a sequence of results instead of a single value, i.e you generate a series of values.
Similar questions