Skip to main content

Probability Riddle Using Python: A Question about the Median


Given 100 numbers. One of these was removed and it was found that the median of the remaining 99 was 78. The number was put back and another removed. The median became 66. What is the median of the whole set of 100 numbers.

Python solution (python was not needed here, but for the sake of consistency):

Riddle source: