[Tutor] How does [::-1] work?

Intercodes intercodes at gmail.com
Thu Jan 19 06:36:31 CET 2006


>Basically, the syntax is [start:stop:step]
 I have read some 2 or 3 introductory tutorials on python and have never
found this syntax or maybe I forgot to note this one. This one seems
certainly useful in some cases.

> HTH!
yes, it does.!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060119/d7bc794d/attachment.html 

More information about the Tutor mailing list