Project Euler 65 - Convergents of e

Official link: https://projecteuler.net/problem=65

Thought Process

I put the first 100 numbers of the continued fraction of e in a list and then I reversed it

We just need to do this for every number in the array and then sum the digits

Interactive Code

Please input an integer (yourinput)

Code will output the sum of digits in the numerator of the yourinput-th convergent of the continued fraction for e