You are viewing a single comment's thread. Return to all comments →
import numpy as np n, m = map(int, input().split()) val = np.array([list(map(int, input().split())) for i in range(n)]) print(np.mean(val, axis=1)) print(np.var(val, axis=0)) print(round(np.std(val), 11))
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 →