steve reighard wrote: > Python provides you with a pseudo random number generator whose output > values are uniformly distributed between the input parameters. What you > are dealing with in fish weights or test scores or other natural > phenomena is most likely a normal distribution. Check out Wikipedia's > normal distribution entry. The math is really juicy. You may end up > with a recipe for the Python Cookbook.
No need for all that, use random.gauss() Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor