Which method of the iterable object returns an iterator object for the collection?
Which method of the iterable object returns an iterator object for the collection? Correct Answer _iterator_()
An iterable object represents a collection of values that can be iterated. An iterable object must define a method named __iterator__() (with two underscores at the start and end of the name) which returns an iterator object for the collection.
মোঃ আরিফুল ইসলাম
Feb 20, 2025