On 03/10/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > Note that the random.randint function includes both endpoints (I.E. the > numbers are 1-10 including 10) > but the range() function doesn't include the last endpoint.
Which is why (in my not-so-humble opinion :-) ) we should tell people to use random.randrange instead of random.randint! (random.randrange takes up to 3 arguments with exactly the same meanings as range()) -- John. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor