Skip to main content

Probability Riddle Using Python: Rolling a Defective Die


On a standard die, one of the dots is removed at random with each dot equally likely to be chosen. The die is then rolled. What is the probability that the top face has an odd number of dots?

Python solution: