I have a question about how Python's native random library generates pseudo-random numbers. Specifically about the repetitions of the generated numbers.
When using the random seed function from the random library, the pseudo random numbers generated on a scale from 0 to 1, if I call the function several times, will they repeat with a certain frequency?
If yes, would it be very frequent, to the point of becoming a memorable sequence? Or allow us to state that a given value between 0 and 1 would always appear several times in a range of executions?
If I use random seed, will this guarantee that there will be a lot of repetition of numbers?
Aucun commentaire:
Enregistrer un commentaire