# Calculate the average, variance and standard deviation in Python using NumPy # Python program to get average of a list  # Importing the NumPy moduleimport numpy as np  # Taking a list of elementslist = [2, 4, 4, 4, 5, 5, 7, 9]  # Calculating average using average()print(np.average(list))