Skip to content

Commit 22a3750

Browse files
Typo
1 parent 59c5f15 commit 22a3750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maths/geometric_mean.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""
22
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.
3+
of those numbers. It is used to measure the central tendency of the numbers.
44
https://en.wikipedia.org/wiki/Geometric_mean
55
"""
66

77

8-
def compute_geometric_mean(*args: float or int) -> float:
8+
def compute_geometric_mean(*args: int) -> float:
99
"""
1010
Return the geometric mean of the argument numbers.
1111
>>> compute_geometric_mean(2,8)

0 commit comments

Comments
 (0)