def nthrootofm(a,n): return pow(a,(1/n)) a=81 n=4 q=nthrootofm(a,n) print(q)
pow () принимает два параметра.