[Tutor] question about the build-in function reversed in Python2.5
daedae11
daedae11 at 126.com
Sun Dec 25 06:02:30 CET 2011
The build-in function reversed() in Python2.5 returns a iterator. But I don't know how to use the iterator.
Please give me a simple example about how to use bulid-in function reversed() to reverse a list.
Thank you in advance.
daedae11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111225/6aecc52f/attachment.html>
More information about the Tutor
mailing list