Skip to main content

Probability Riddle Using Python: Coin Tossing Contest

 Riddle:

A tosses a fair coin 20 times, B does that 21 times. What is the probability that B will have more heads than A?

Python Solution: 


Riddle source:

Challenging Mathematical Problems With Elementary Solutions, Vol. 1