0

What's the use of random.seed!?

25th Sep 2021, 7:41 PM
Abdulmagid Algodimy
3 Respostas
+ 4
The seed() method is used to initialize the random number generator. The random number generator needs a number to start with (a seed value), to be able to generate a random number. By default the random number generator uses the current system time. Use the seed() method to customize the start number of the random number generator. Pasting ans from w3school.
25th Sep 2021, 8:45 PM
Iftekhar Ahmed Pranto
Iftekhar Ahmed Pranto - avatar
25th Sep 2021, 7:56 PM
Simon Sauter
Simon Sauter - avatar
+ 2
Thank you
26th Sep 2021, 1:24 AM
Abdulmagid Algodimy