Problem:

Compute the geometric mean of ${81, 729, -1, -3125, 1, 625}$.

import math

values = 81, 729, -1, -3125, 1, 625
geometric_mean = math.prod(values) ** (1 / len(values))
print(geometric_mean)

