Skip to main content

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


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: