Discuss / Python / 这个的输出怎么写,求教

这个的输出怎么写,求教

Topic source

x=input('enter a number:') def power(x,n=2): s=1 while n>0: n=n-1 s=s*x return s


  • 1

Reply