Hello everyone!
Well I am stuck with this exercise. Everything seems to be working perfectly, balls are returned properly, successes are counted properly, there seems to be a semi random choice of balls from the original hat, but the probability my program returns is not the same as the expected.
Could it be that the randomizer works wrong or that I have missed the way to choose balls?
Thank you so much in advance.
This is my replit link:
prob_calculator.py - boilerplate-probability-calculator - Replit
Your browser information:
User Agent is: Microsoft Edge
but I have also tried Brave and Chrome.
Version 99.0.1150.36 (Official build) (64-bit)
Challenge: Scientific Computing with Python Projects - Probability Calculator
Link to the challenge: