Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#Python 2 - 56 bytes
The first actual answer, if I'm correct. Uses Newton's method.
n=x=input();exec"x-=(x**n-n)/(1.*n*x**-~n);"*999;print x
#Python 32 - 5356 bytes
lambda n,x=1:execn=x=input("x);exec"x-=(x**n-n)/(n*x**1.*n*x**-~n);"*999)and;"*999;print x
#Python 3 - 53 bytes
lambda n,x=1:exec("x-=(x**n-n)/(n*x**-~n);"*999)and x