Re: I have a question.



Nathan Pinno said unto the world upon 30/06/2005 11:22:

Hi all,

  Does Python have a random function? If so, can you show me an example
using it?

  Thanks,
  Nathan Pinno
  http://www.npinnowebsite.ca/

>>> import random
>>> print "It took %s seconds to find the module named random by looking at the docs" %random.random()
It took 0.31385101929 seconds to find the module named random by looking at the docs
>>>



.