Skip to main content

Probability Riddle Using Python: Mean, Mode, Range and Median

 Riddle:

A list of five positive integers has mean 12 and range 18. The mode and median are both 8. How many different values are possible for the second largest element of the list?


Python solution (python is not really needed, but just for the sake of consistency):



Riddle source:

https://artofproblemsolving.com/wiki/index.php/1995_AHSME_Problems/Problem_25