Browse Source

Random

pull/9/head
Jure Šorn 5 years ago
parent
commit
a530e90c1e
1 changed files with 3 additions and 0 deletions
  1. 3
      README.md

3
README.md

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

Loading…
Cancel
Save