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:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.