Random
class Random
Fields
2
gen
RandomGenerator
gauss_next
Optional[float]
Constructors
1
Methods
23
choice[T: type](self: Self, sequence: Generator[T]) -> T
Defined in
randomchoice[T: type](self: Self, sequence: List[T]) -> T
Defined in
randomnormalvariate(self: Self, mu: float = 0.0, sigma: float = 1.0) -> float
Defined in
randomchoices[T: type](self: Self, population, weights: Optional[List[T]], *, cum_weights: Optional[List[T]], k: int)
Defined in
random