def fun(x,y):
if y==1:
return x
else:
return x*fun(x,y-1)
x,y=eval(input())
print(fun(x,y))
递归x的y
最新推荐文章于 2023-03-28 10:54:23 发布
def fun(x,y):
if y==1:
return x
else:
return x*fun(x,y-1)
x,y=eval(input())
print(fun(x,y))