|
@ -394,6 +394,9 @@ float('inf'), float('nan') |
|
|
### Random |
|
|
### Random |
|
|
```python |
|
|
```python |
|
|
from random import random, randint, choice, shuffle |
|
|
from random import random, randint, choice, shuffle |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
```python |
|
|
<float> = random() |
|
|
<float> = random() |
|
|
<int> = randint(from_inclusive, to_inclusive) |
|
|
<int> = randint(from_inclusive, to_inclusive) |
|
|
<el> = choice(<list>) |
|
|
<el> = choice(<list>) |
|
|
xxxxxxxxxx