This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
def mean(x: List[Float64]) -> Float64:
|
||||
var total: Float64 = 0.0
|
||||
for i in range(len(x)):
|
||||
total = total + x[i]
|
||||
return total / Float64(len(x))
|
||||
Reference in new issue
Block a user