lundi 4 mai 2015

In python, what is the difference between random.uniform() and random.random()?

In python for the random module, what is the difference between random.uniform() and random.random()? They both generate pseudo random numbers, random.uniform() generate numbers from a uniform distribution and random.random generate the next random number. What is the difference?




Aucun commentaire:

Enregistrer un commentaire