Tell us what’s happening:

I am confused and need some help to understand it more clearly, how could I extend it
it is not passing all tests and

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36.

Challenge: Probability Calculator

Link to the challenge:

It will be much easier for others to help if you say which tests are not passing and what exactly you want help with.

do you please give me review of my code?

Which tests are not passing?

I have done it
It passes now all tests
Thanks for everything