adspace


What are iterators in Python?

Answer Posted / Avlokna Agarwal

Iterators in Python are objects that allow accessing the elements of containers like lists, dictionaries, and sets sequentially. They provide methods for iteration, such as next(), __iter__(), and others.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category