[Tutor] (no subject)

Jim and Laura Ahl jcahl at psci.net
Thu Apr 14 08:09:14 CEST 2005

How come when I ask it to print i[2:4] from an inputted string it gives me the letters between two and four

But when I ask it to print i[-1:-4] it does not print anything.

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

More information about the Tutor mailing list