Q. )) type(g)

  • (A) class <’loop’>
  • (B) class <‘iteration’>
  • (C) class <’range’>
  • (D) class <’generator’>
πŸ’¬ Discuss
βœ… Correct Answer: (D) class <’generator’>
Explanation: another way of creating a generator is to use parenthesis. hence the output of the code shown above is: 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

πŸ‘οΈ
469
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate