Probability Calculator Feedback

Hi everyone,

So I finally managed to finish the last project in Scientific Computing in Python but I would love some feedback on what can be done better and how can all of this code be optimized (lower runtime for example).

Here is the link to the replit:

prob_calculator.py - boilerplate-probability-calculator-3 - Replit

Thanks in advance :slight_smile:

PS: I know that it might not be documented well enough but I always try to put variable names that are “readable” so it is easier for me or anyone else to come back to the code