I need x^y == integer (input) cant figure out how to do so I CANT USE MATH IMPORT tried to do something like this:
a = int(input("Please Enter any Positive Integer:"))
power = 1
i = 1
while(i <= a):
power = power * a
i = i + 1
for example the input is 8 i need the program to find x^y==8 in this case the output needs to be: x=2 y=3 hope its clear thanks in advance.