lundi 8 octobre 2018

How to set exact probability for each randint(1,6)

Is it possible to set for example 50% for number 3:

a=randint(1,6) #probability of number 3 is 50%




Aucun commentaire:

Enregistrer un commentaire