We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59c5f15 commit 22a3750Copy full SHA for 22a3750
maths/geometric_mean.py
@@ -1,11 +1,11 @@
1
"""
2
The Geometric Mean of n numbers is defined as the n-th root of the product
3
-of those numbers. It is used to measure the central tendenct of the numbers.
+of those numbers. It is used to measure the central tendency of the numbers.
4
https://en.wikipedia.org/wiki/Geometric_mean
5
6
7
8
-def compute_geometric_mean(*args: float or int) -> float:
+def compute_geometric_mean(*args: int) -> float:
9
10
Return the geometric mean of the argument numbers.
11
>>> compute_geometric_mean(2,8)
0 commit comments