You are here : python_3randomrandomgetstate

random.getstate() - random

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


Syntax

random.getstate()


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference