What are Generator Functions ?
Answers
Answered by
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
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
Math,
5 months ago
Geography,
5 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
CBSE BOARD X,
1 year ago
Economy,
1 year ago