Answer:
The explanation of this program is written below in explanation section
Explanation:
def Is_Power(x,y):#defining power function
print(pow(x,y));#using built-in "pow(base,exp)" function
Is_Power(10,2)#checking 10 raise to power 2
Is_Power(27,3)#checking 27 raise to power 3
Is_Power(1,1)#checking 1 raise to power 1
Is_Power(10,1)#checking 10 raise to power 1
Is_Power(3,3)#checking 3 raise to power 3
# however, it is noted that this symbol is used for comments
# Is_Power(10,2) is equal to 100
# Is_Power(27,3) is equal to 19683
# Is_Power(1,1) is equal to 1
# Is_Power(10,1) is equal to 10
# Is_Power(3,3) is equal to 27