mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-23 17:38:39 +00:00
arithmetic_mean
This commit is contained in:
parent
74045b64f0
commit
3b562a8507
@ -21,7 +21,7 @@ def is_arithmetic_series(series: list) -> bool:
|
|||||||
|
|
||||||
def arithmetic_mean(series: list) -> float:
|
def arithmetic_mean(series: list) -> float:
|
||||||
"""
|
"""
|
||||||
return the geometric mean of series
|
return the arithmetic mean of series
|
||||||
|
|
||||||
>>> arithmetic_mean([2, 4, 6])
|
>>> arithmetic_mean([2, 4, 6])
|
||||||
4.0
|
4.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user