how to generate random numbers that satisfy certain distribution
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Sat Jan 23 17:05:07 EST 2010
On Sat, 23 Jan 2010 11:10:52 -0800, thinke365 wrote:
> of course i have tried random package, but can this package generate
> random sequence that satisfy possion distribution , normal distribution
> and uniform distribution
Please don't talk garbage. If you had really tried the random module, you
would know the answer. What do you think random.uniform does?
In an interactive Python session:
>>> import random
>>> help(random)
and read. When you've done that, if you still have any specific
questions, please ask.
--
Steven
More information about the Python-list
mailing list