I want to generate random numbers 0 and 1 so that 0 can occur several times than 1. Let's say that I do this 10 times where 0 appears 7 or 8 times and 1 appears twice. I have no code yet, but I'm waiting for some ideas and suggestions, thanks a lot.
Aucun commentaire:
Enregistrer un commentaire