The lightweight package to find the mean, median, and mode. (Hence the name MEanMEdianMOde)
- Most efficient and more lightweight than the
numpyorstatisticsmodule. - No need other 3rd-party modules to install.
- Only 3 functions.
Github repo: https://github.com/dUhEnC-39/mememo
You can use the mean() function to find the mean of 2+ numbers.
import mememo
a = mememo.mean([1, 2])
print(a) # Output: 1.5a = mememo.median([1, 2])
print(a) # Output: 1.5a = mememo.mode([1, 2, 2])
print(a) # Output: 2For example,
mememo.mean(10, 15, 87)will raise this error
TypeError: mean() takes 1 positional argument but 3 were givenAny questions? Email here