Iterators however can be used and defined explicitly. For any iterable sequence type or class, the built-in function codice_94 is used to create an iterator object. The iterator object can then be iterated with the codice_38 function, which uses the codice_96 method internally, which returns the next element in the container. (The previous statement applies to Python 3.x. In Python 2.x, the codice_38 method is equivalent.) A codice_98 exception will be raised when no more elements are left. The following example shows an equivalent iteration over a sequence using explicit iterators: