Calculate the probability of the specific value of summation
$30-250 USD
进行中
已发布将近 8 年前
$30-250 USD
货到付款
I would like to calculate the probability of the specific value of summation of three dice by using python. Usually, the probability of the summation of three dice becomes 3 is, only one combination, which is 0.0046296296296296%. But, if you try this more than one time, if the summation is 3 at the first try, then the probability of the summation of three dice becomes 3 at the second try becomes 3 is lower than the first try. In case that we suppose to have the data for preceding trials of ten times, I would like to calculate the probability of the value of summation of three dice by python. Can you please tell me what kind of algorithm I should use in this particular case, either?