Created
November 1, 2024 13:53
-
-
Save vndee/583a4462cf1a3e1c2c8f224bbf88cf0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Same starting number = same "random" sequence | |
rng1 = MersenneTwister(42) | |
rng2 = MersenneTwister(42) | |
assert rng1.extract_number() == rng2.extract_number() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment