Was this section helpful?
random
- Generate pseudo-random numbers, Python Software Foundation, 2023 - Official documentation for Python's built-in module, covering random.choice
and random.choices
functions used for uniform and weighted sampling of categories.