def test(x,n): if n == 0: s = 1 return s else: i = 1 s = 1 while (i<=n): i+=1 s=s*x return s print test(2,0)