powered by
If seed is precise, a new seed is initialised.
gmp.rand(n, seed = 0)
# Integers are differents gmp.rand(123) gmp.rand(123) gmp.rand(123) # Integers are the same gmp.rand(123,seed="234234234324323") gmp.rand(123,seed="234234234324323")
Run the code above in your browser using DataLab