Python's random: What happens if I don't use seed(someValue)? -
a) In this case, the random number generator uses the clock to change the clock (the seed) on each run?
b) Does the seed produce pseudo-random values of the lymphatic (lambda)?
"Use the source, Luke!" ... ;-)
If there is none: Studying will assure you faster; -). What happens when the seed is not set (try "I'm not"): except for a = long (_hexlify (_urandom (16)), 16) NotImplementedError: import time a = long ( Time.time () * 256) Use # partial seconds
and xorite:
random = self. Random u = random () while u & Lt; = 1e-7: u = Random () Return-_ log (U) / Lambida Obviously uses the same built-in random generator as every other method , And this Would be the effect of seeding or absence (in fact, how and how? -)
Comments
Post a Comment