Skip to main content

Probability Riddle Using Python: A Question about the Median

 Riddle:

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:

https://problems.ru/view_problem_details_new.php?id=65312&x=0&y=0