Problem:

Compute the geometric mean of ${262144, 1, 1, 531441, 15625, 3}$.

import math

values = 262144, 1, 1, 531441, 15625, 3
geometric_mean = math.prod(values) ** (1 / len(values))
print(geometric_mean)

