range(start,stop)

David C. Ullrich ullrich at math.okstate.edu
Sat Feb 12 19:12:55 CET 2000


    You ask for replies from experts. I think the point is that those
darned experts are gonna get the stuff right regardless - for non-experts

like me it fits in with everything else very nicely. In my limited
experience I find that in Python I avoid off-by-one errors by not
worrying about them.

    Now if I could just get the whitespace issues straight...

'ly,
DU

Stephane BAUSSON wrote:

> Hello
>
> Just a question for a Python expert ...
> What the interest for the range function to stop at stop-1 and not at
> stop ?
> For me it does not feel natural to write ....
>
> Thank you
>
> --
>  Stephane BAUSSON
>  Email: Stephane.Bausson at mail.dotcom.fr




More information about the Python-list mailing list