Difference between Python 2 and 3 for shuffle with a given seed

后端 未结 0 1929
长发绾君心
长发绾君心 2021-02-15 18:44

I am writing a program compatible with both Python 2.7 and 3.5. Some parts of it rely on stochastic process. My unit tests use an arbitrary seed, which leads to the same results

相关标签:
回答
  • 消灭零回复
提交回复
热议问题