Can't Generate Random #

jimmypop181 at my-deja.com jimmypop181 at my-deja.com
Mon Feb 5 14:13:39 EST 2001


Does somebody know how to generate a random number in
Python?  I read the docs and it says rand(x, y) should do it.  But
whenever I try that, It says that "there is no variable named rand".
This also happens when trying to get the Square Root.  Please
help.


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list