[Tutor] ask
Alan Gauld
alan.gauld at btinternet.com
Wed Feb 24 10:25:52 CET 2010
"Shurui Liu (Aaron Liu)" <shurui91 at gmail.com> wrote in message
news:2b9003cf1002231958s34b701b6sc69408a0b855acd2 at mail.gmail.com...
> 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
>
--------------------------------------------------------------------------------
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list