Can't Generate Random #

Michael Hudson mwh21 at cam.ac.uk
Tue Feb 6 12:04:52 EST 2001


jimmypop181 at my-deja.com writes:

> Thanks, I'm fairly new with Python and I didn't know that you had to
> put "whrandom."random() or "math."sqrt().

You should write random.random() btw. Note the lack of "wh".

Cheers,
M.

-- 
  I'm not particularly fond of singing GSTQ because she stands for
  some things I don't, but it's not really worth letting politics
  getting in the way of a good bawling.
                                            -- Dan Sheppard, ucam.chat



More information about the Python-list mailing list