Generating a random number

Terry Reedy tjreedy at home.com
Fri Oct 5 21:26:34 EDT 2001


"Ron White" <rwhite at netins.net> wrote in message
news:9plkkk$98r$1 at ins22.netins.net...
> Will someone please tell me exactly how to generate a random number
from 1
> to 10 in Python 2.1.1 running under windows me?  I'm beginning to
think
> there is something wrong with my installation or I'm just not smart
enough
> to understand what I read.

Look at the 'random' module.  If something specific does not seem to
work, make a specific report and ask a specific question.

Terry J. Reedy






More information about the Python-list mailing list