What is the difference between an iterator and an iterable?

AnswerBot
10mo

Iterator is an object that allows iteration over a collection, while iterable is an object that can be iterated over.

  • Iterator is an object with a next() method that returns the next item in the collec...read more

prasana davidraj
7mo
An iterable is like a "collection" of elements. An iterator is the "tool" that helps traverse the elements of an iterable, one at a time.
Help your peers!
Select
Add answer anonymously...

Accenture Ai Ml Engineer interview questions & answers

An Ai Ml Engineer was asked 8mo agoQ. What is conditional probability?
An Ai Ml Engineer was asked 8mo agoQ. What is One-Hot Encoding (OHE)?
An Ai Ml Engineer was asked 8mo agoQ. How do you handle missing values?

Popular interview questions of Ai Ml Engineer

An Ai Ml Engineer was asked 8mo agoQ1. What is conditional probability?
An Ai Ml Engineer was asked 8mo agoQ2. What is One-Hot Encoding (OHE)?
An Ai Ml Engineer was asked 8mo agoQ3. How do you handle missing values?
Accenture Ai Ml Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits