2.1. Random About
2.1.1. random
Function |
Description |
---|---|
|
Random float: 0.0 <= x < 1.0 |
|
Return a random integer N such that |
|
Gaussian distribution. mu is the mean, and sigma is the standard deviation |
|
Randomize order of list (in place) |
|
Single random element from a sequence |
|
k random elements from list without replacement |
|
Initialize the random number generator. If a is omitted or None, the current system time is used |
2.1.2. Pseudo and Pure random numbers
What are pseudorandom numbers?
Why it is not possible to generate a pure random number?
What is
random.seed(0)
?