demo_ml_numpy_var.py:
import numpy speed = [32,111,138,28,59,77,97] x = numpy.var(speed) print(x)
C:\Users\My Name>python demo_ml_numpy_var.py
1432.2448979591834