Answers for "geometric mean python gfg"

1

geometrical mean python

import numpy as np

def geo_mean(iterable):
    a = np.array(iterable)
    return a.prod()**(1.0/len(a))
Posted by: Guest on December-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language