Given a sequence , this function returns an iterator that generates the
elements of the sequence. For more information, see Section 17.2, “Iterators: Values that can produce a sequence of
values”.
S
>>> listWalker = iter ( [23, 47, 'hike'] ) >>> for x in listWalker: print x, ... 23 47 hike