I am trying to make a program that picks random numbers between 1 and 0. However, when I run the program, I get the same output over and over again (20 times!). How might I go about fixing this? I have heard that Math.random()
is more biased than random()
.
Aucun commentaire:
Enregistrer un commentaire