This function, applied to a sequence value , returns an iterator that generates
the elements of S
in reverse order (see Section 17.2, “Iterators: Values that can produce a sequence of
values”).
S
>>> L=[22,44,88] >>> backL = reversed(L) >>> for i in backL: ... print i, ... 88 44 22