Skip to main content

Probability Riddle Using Python: Bridge Crossing


It takes 5 minutes to cross a certain bridge and 1000 people cross it in a day of 12 hours, all times of day being equally likely. Find the probability that there will be nobody on the bridge at noon.

Python Solution (still hesitant of the solution, correct me if wrong):

Riddle source: