Hi,
Can somebody help me with my Probability Calculator? It fails in the test module first test (expected around 0.272, my prob. 0.117), everything else looks good. I am new at programming, and I know my code is a little messy, and I could have used the class for the experiment, It seemed easier for me, maybe because at that time I did not totally understand the task.
I tried hundreds of version in last days to make it work, but I have to admit , the probability to solve this by myself is as low as my test provability result
Can somebody look at it, do I have to rewrite the whole experiment function, or is something what I can do to make this work?
Thank you for your time!
My code is here.