program take two number as input and our task is to find the power like
example -
a=2
b=3
ans=2 to the power 3
i.e 8
program -
#first way
a=input("Enter first numbern")
b=input("Enter second numbern")
a=int(a)
b=int(b)
ans=a**b
print("Power is - "+str(ans))
#second way
ans=pow(a,b)
print("Power is - "+str(ans))
Enter first number
2
Enter second number
3
Power is - 8
Power is - 8