ID EN
Random

getstate

Python 3.11

Return an object capturing the current internal state of the generator. This object can be passed to setstate() to restore the state.

Syntax

PYTHON
random.getstate()

See Also

setstate()