Problem:

Compute the geometric mean of ${-729, 3, 7776, 1, 4096, -9}$.

import math

values = -729, 3, 7776, 1, 4096, -9
geometric_mean = math.prod(values) ** (1 / len(values))
print(geometric_mean)

