Q. Which function is used to iterate with index in a loop?

  • (A) range()
  • (B) index()
  • (C) enumerate()
  • (D) list()
πŸ’¬ Discuss
βœ… Correct Answer: (C) enumerate()
Explanation: `enumerate()` allows iteration with both index and item.
Explanation by: Mr. Dubey
`enumerate()` allows iteration with both index and item.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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