diff --git a/README.md b/README.md index 5b65312..c971746 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ probability = experiment(hat=hat, Since this is based on random draws, the probability will be slightly different each time the code is run. -*Hint: Consider using the modules that are already imported at the top of `prob_calculator.py`.* +*Hint: Consider using the modules that are already imported at the top of `prob_calculator.py`. Do not initialize random seed within `prob_calculator.py`.* ### Development diff --git a/main.py b/main.py index d024d88..a3eb31d 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,7 @@ import prob_calculator from unittest import main +prob_calculator.random.seed(95) hat = prob_calculator.Hat(blue=4, red=2, green=6) probability = prob_calculator.experiment( hat=hat,