snakia.random.python
Classes
|
A random number generator. |
- class snakia.random.python.PythonRandom[source]
Bases:
Random[tuple[int,tuple[int, …],int|float|None]]- choice(seq)
Return a random element from a non-empty sequence.
- Return type:
TypeVar(T)
- shuffle(seq)
Shuffle a sequence in place.
- Return type:
TypeVar(M, bound=MutableSequence[Any])