Skip to main content

Probability Riddle Using Python: Distance from Center and Edge

 Riddle: 

What is the probability that a dart, hitting a square board at random, lands nearer the center than an edge?


Python Solution:


Riddle source:

https://www.cut-the-knot.org/Probability/ThrowingDarts.shtml