[Tutor] Random Number Randrange

kubota2550 at gmail.com kubota2550 at gmail.com
Mon Feb 12 12:28:44 CET 2007

When I  use the function random.randrange(x,y) I never get the upper limit y
in the list.  I've tried the range 1,3 and never get 3.  If I choose 1,4 I
get 3 but never 4.  Is the upperlimit actually <y instead of <=y?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070212/d37c4590/attachment.html 

More information about the Tutor mailing list