<AptiCode/>

Question 474: How can you create a generator object?

tcs
wipro
infosys
general
aptitude
generators
python-programming

A generator object is created by calling a generator function using its name followed by parentheses, such asgen_func().