find nth root of m using python

Solutions on MaxInterview for find nth root of m using python by the best coders in the world

showing results for - "find nth root of m using python"
Marion
20 Jan 2018
1def nthrootofm(a,n):
2    return pow(a,(1/n))
3a=81
4n=4
5q=nthrootofm(a,n)
6print(q)
7