1.

When do we use the iterator in Django?

Answer»

Iterators are mostly USED for TRAVELERS in the object in python framework implementing ITERATOR protocol.

This comprises of TWO methods which are-

  • __iter__()
  • next ()


Discussion

No Comment Found