New course! Every coder should learn Generative AI!
Try a free lesson0
How can I do the oppisite function of ** in python?
3 Answers
+ 1
By opposite, if you mean : obtaining N-th root of some number instead of getting it's N-th power just use - a**(1/n) instead of a**n.
0
Ok thank you
0
@Josu: a like won't hurt :)