I am dealing with probability calculator in scientific computing path.
I think I did a decent job with my code as it roughly works.
Nevertheless, I get error about the probability computed with test cases.
Here is my code:
Do you see any evident mistake in the code?
I am puzzled because it seems pretty “linear” to me…
solution: boilerplate-probability-calculator - Replit
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36
Challenge: Scientific Computing with Python Projects - Probability Calculator
Link to the challenge: