Generating random natural numbers with higher probability for lower numbers?
I'm looking for a function like Python's random.randint() which generates random whole numbers between a and b, but one which is more likely to generate numbers closer to a, with only a few closer to b.
Aucun commentaire:
Enregistrer un commentaire