Re: I have a question.
- From: Brian van den Broek <bvande@xxxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 11:47:29 -0400
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
>>>
.
- References:
- I have a question.
- From: Nathan Pinno
- I have a question.
- Prev by Date: Re: How to compare two directories?
- Next by Date: Re: I have a question.
- Previous by thread: I have a question.
- Next by thread: Re: I have a question.
- Index(es):