At the beginning it was hard for me to understand what the wsq do, and then I could understand it is not calculating e^x, it calculates e with the number of digits the user wants.
And here is my code: https://github.com/lulisgarciap/wsq11/blob/master/wsq14.py
#wsq14 by Lourdes García is licensed under a Creative Commons Attribution 4.0 International License.