Mean, Var, and Std

  • + 0 comments
    # Enter your code here. Read input from STDIN. Print output to STDOUT
    import numpy
    n,m = map(int,input().split())
    
    a=numpy.array([input().split() for _ in range(n)],int)
    print(numpy.mean(a,axis=1), numpy.var(a,axis=0), round(numpy.std(a),11),sep='\n')