Project Euler 75 - Singular integer right triangles

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

Thought Process

This is essentially the same as Problem 39 except we create an array = [0]*1,500,001 and return the number of cells that are equal to 1, this can be done with array.count(1)

Interactive Code

Enter a number (yourinput)

Code will output the answer for L <= yourinput