You are viewing a single comment's thread. Return to all comments →
**Python 3 simple solution ** :
import numpy as np np.set_printoptions(sign= " ") n,m=map(int,input().split()) res = np.array([list(map(int,input().split())) for _ in range(n)]) print(np.mean(res,axis= 1)) print(np.var(res , axis=0)) print(round(np.std(res),12))
Seems like cookies are disabled on this browser, please enable them to open this website
Mean, Var, and Std
You are viewing a single comment's thread. Return to all comments →
**Python 3 simple solution ** :