python 循环求幂def f(x, n): result = 1 for i in range(n): result