Skip to content

Commit

Permalink
Update MeanVarandStd.py
Browse files Browse the repository at this point in the history
Fixed the solution for Numpy challenge Mean, Var, and Std
  • Loading branch information
arsho committed Jun 25, 2023
1 parent 55ebcee commit 5e1472b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Numpy/MeanVarandStd.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Domain : Python
Author : Ahmedur Rahman Shovon
Created : 15 July 2016
UUpdated : 24 June 2023
Problem : https://www.hackerrank.com/challenges/np-mean-var-and-std/problem
"""

Expand All @@ -17,4 +18,4 @@
np_ar = numpy.array(ar)
print(numpy.mean(np_ar, axis=1))
print(numpy.var(np_ar, axis=0))
print(numpy.std(np_ar, axis=None))
print(round(numpy.std(np_ar, axis=None), 11))

0 comments on commit 5e1472b

Please sign in to comment.