adding e to the nth digit solution in python

hope gist is allright