demo_ml_percentile1.py:
import numpy ages = [5,31,43,48,50,41,7,11,15,39,80,82,32,2,8,6,25,36,27,61,31] x = numpy.percentile(ages, 75) print(x)
C:\Users\My Name>python demo_ml_percentile1.py
43.0