mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update random.md
This commit is contained in:
parent
4a4eade26f
commit
b0f6b54600
@ -26,3 +26,7 @@ Return a random element from a sequence.
|
||||
### `random.shuffle(seq)`
|
||||
|
||||
Shuffle a sequence inplace.
|
||||
|
||||
### `random.choices(population, weights=None, k=1)`
|
||||
|
||||
Return a k sized list of elements chosen from the population with replacement.
|
||||
|
Loading…
x
Reference in New Issue
Block a user