Solving the Project Euler Problems – Problem 4

A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Find the largest palindrome made from the product of two 3-digit numbers.

No gists found

Python’ s very nice way of manipulating integers into strings and string into integers was very helpful with this one, all I had to do was create a function to check if a number is a palindrome (to keep the code neat) and use this to verify our results. If this function returns true and the product of our two numbers is larger than our current result, simply overwrite our result.