Lets just say that I have this python script:
a = 2 ** 10
b = a ** # Code to reverse the process done for a.
print(a) # Prints 1024
print(b) # Should print 2
How do I do this?
Lets just say that I have this python script:
a = 2 ** 10
b = a ** # Code to reverse the process done for a.
print(a) # Prints 1024
print(b) # Should print 2
How do I do this?
You would want to find the xth root of the value. To do that you raise the result to the inverse of the power. So, the answer to your question is:
a = 2 ** x
b = a ** (1/x) # Code to reverse the process done for a.
print(a) # Prints 1024
print(b) # Should print 2