Explanation: another way of creating a generator is to use parenthesis. hence the output of the code shown above is: class<’generator’>.
Q. )) type(g)
✅ Correct Answer: (D)
class <’generator’>
Explanation by: Mr. Dubey
another way of creating a generator is to use parenthesis. hence the output of the code shown above is: class<’generator’>.
Discussion
Question Analytics
422
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
88%
Success Rate