You are here : python_3randomrandomsetstate

random.setstate() - random

state should have been obtained from a previous call to getstate(), and
setstate() restores the internal state of the generator to what it was at
the time getstate() was called.


Syntax

random.setstate(state)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference