Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

is reversed a generator python

"""
reversed(seq)
Return a reverse iterator. 
seq must be an object which has a __reversed__() method 
or supports the sequence protocol 
(the __len__() method and the __getitem__() method with integer arguments starting at 0).
"""
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #reversed #generator #python
ADD COMMENT
Topic
Name
1+5 =