
#事尼霸霸原创,未经许可禁止盗用,转载请注明出处,如有雷同纯属巧合
def power(a,b): #定义乘方函数
for i in range(b - 1): #计算乘方
a = a * c
return a
while True:
a = int(input("底数")) #输入底数
b = int(input("指数")) #输入指数
c = a
answer = power(a,b) #调用power函数
print(answer) #输出结果


