[Tutor] Displaying range in 3.0.1
Gregory Morton
tyetheczar at hotmail.com
Thu May 28 19:22:20 CEST 2009
I've been reading this Python 3.0.1 tutorial(http://docs.python.org/3.0/tutorial/controlflow.html), and now I'm stuck at the second example in 4.3. This is what the example says the output should look like:range(5, 10)
5 through 9
range(0, 10, 3)
0, 3, 6, 9
range(-10, -100, -30)
-10, -40, -70
But what I receive instead is the same as what I input (i.e. range(5, 10) just returns range(5, 10)).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090528/8739a1af/attachment.htm>
More information about the Tutor
mailing list