Problem:

Compute the geometric mean of ${262144, 7776, 64, -1024, 4096, -6}$.

import math

values = 262144, 7776, 64, -1024, 4096, -6
geometric_mean = math.prod(values) ** (1 / len(values))
print(geometric_mean)

