Answers for "python n-root"

1

find nth root of m using python

def nthrootofm(a,n):
    return pow(a,(1/n))
a=81
n=4
q=nthrootofm(a,n)
print(q)
Posted by: Guest on December-09-2020

Python Answers by Framework

Browse Popular Code Answers by Language