Probability too low in probability calculator

I have tried a variety of ways matching the expected and actual results of the probability calculator and keep getting .167 rather than .27. Surprisingly it still passes but something is not quite right with the code. Any suggestions would be greatly appreciated:
https://replit.com/@Biermann-bot/boilerplate-probability-calculator-1#prob_calculator.pyhttps://replit.com/@Biermann-bot/boilerplate-probability-calculator-1#prob_calculator.py