[Tutor] ask

Shurui Liu (Aaron Liu) shurui91 at gmail.com
Wed Feb 24 04:58:52 CET 2010


This time is not my assignment, I promise.

In python, when we want to list numbers, we use the command "range", like,
if we want to list integer from 0 to 9, we can write: range(10); if we want
to list integer from 10 to 29, we can write: range(10,30). I was going to
show a list of number from 1.0 to 1.9, and I did this in the same way as
integer: range(1.0,2.0,0.1), but it doesn't work. Can you help me? Thank
you!

-- 
Shurui Liu (Aaron Liu)
Computer Science & Engineering Technology
University of Toledo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100223/781deae9/attachment-0001.html>


More information about the Tutor mailing list