import numpy as np


a = np.array([[50,10,30],
              [60,20,40],
              [70,80,90]])
# return simple average of all element from an array
print()
print(np.mean(a))


# return simple average of column element from an array

print()
print(np.mean(a,axis=0))


# return simple average of row element from an array

print()
print(np.mean(a,axis=1))
