from scipy import stats idades = [18,22,29,32,17,19]x = stats.mode(idades)print(x)
Standard input is empty
ModeResult(mode=array([17]), count=array([1]))
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!