Computer Science, asked by anoushi4644, 9 months ago

What are Generator Functions ?

Answers

Answered by humera98765
0

Explanation:

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

Answered by Raghav1330
0

Definition of generation functions

- These functions are implied to obtain a series of values and not to obtain the result of any single value.

- These functions are unique and convinient for the working system.

- In most of the cases they're used for the purpose of writing iterator as it's a pointed object used to denote an image inside the containers.

- Generally found in computer languages such as Java or Python.

Similar questions