Created
June 4, 2019 09:05
-
-
Save chinskiy/71e77bb09375b23fe6863581f70b2202 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Python 2.7.16 | |
| In [1]: import random | |
| ...: random.seed('some_seed') | |
| ...: random.random() | |
| Out[1]: 0.4439539753657198 | |
| # Python 3.7.3 | |
| In [1]: import random | |
| ...: random.seed('some_seed', version=1) | |
| ...: random.random() | |
| Out[1]: 0.4439539753657198 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment