find the power of a number
#find the power of a number
import math
x = int(input("Enter first number : "))
y = int(input("Enter second number : "))
result=math.pow(x,y)
print(str(x)+" raised to the power of "+str(y)+" is equal to "+str(int(result)))
Output
No comments