A number is a palindrome if it reads the same way forwards and backwards.
For example, 27872 and 48484 are palindromes, but 28389 and 12541 are not.
What is the sum of all of the 5-digit palindromes?
I assume:
sum of 5-digit palindromessum until 1-digit palindromes45sum until 2-digit palindromes540sum until 3-digit palindromes50040sum until 4-digit palindromes545040sum until 5-digit palindromes5004504049500000
Source: https://www.educative.io/edpresso/how-to-find-the-sum-of-first-n-palindromes