Scientific Computing with Python Projects - Probability Calculator

Tell us what’s happening:
Hello. I’m having some issue with the probability value, as it is returning a bit more than it should. I’ve been trying for hours to find what is causing this fluctuation in the value.

Your code so far
boilerplate-probability-calculator - Python Repl - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0

Challenge: Scientific Computing with Python Projects - Probability Calculator

Link to the challenge:

Hello mtlpks,

What is the problem, what value are you getting and what value are you expecting. And what flactuation are you refering to? Looks like your code passed the tests