fork download
  1. def power(x,n):
  2. s=1
  3. while n>0:
  4. n=n-1
  5. s=s*x
  6. print(s)
  7.  
  8. # your code goes here
Success #stdin #stdout 0.07s 14164KB
stdin
power(2,3)
stdout
Standard output is empty