This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import math
|
||||
|
||||
|
||||
def mean(x):
|
||||
return math.fsum(x) / len(x)
|
||||
@@ -0,0 +1,5 @@
|
||||
def mean(x):
|
||||
total = 0.0
|
||||
for v in x:
|
||||
total += v
|
||||
return total / len(x)
|
||||
Reference in new issue
Block a user