Hello,
I am having trouble completing the Python Probability Calculator challenge. I am getting failing the third test which tests to see if the probability I calculated is almost equal to the expected probability. I seem to be close but not enough to pass the test.
I have tried various random methods of of choosing balls from the hat (including choice, sample and randint) yet none of them seem to pass the test. I was wondering if I am missing something else.
Appreciate the assistance. Here is my code.