You are viewing a single comment's thread. Return to all comments →
import numpy as np if __name__=="__main__": n, _ = map(int, input().split()) a = np.array([input().split() for _ in range(n)], int) print(np.mean(a, 1), np.var(a, 0), round(np.std(a), 11), sep='\n')
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 →