I was wondering how I could generate a list of random number (1, 2) but with different probability. ie : 1 has a probability of 0.6 and 2 has a probability of 0.4.
Thanks!
Aucun commentaire:
Enregistrer un commentaire