Problem:

Compute the geometric mean of ${16, -512, 117649, -1, 27, 625}$.

import math

values = 16, -512, 117649, -1, 27, 625
geometric_mean = math.prod(values) ** (1 / len(values))
print(geometric_mean)

