Problem 3

Largest palindrome product

Problem 5

Largest palindrome product

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.
def run():
    for a in range(999999, 99999, -1):
        if str(a) == str(a)[::-1]:
            for b in range(999, 99, -1):
                if (a % b == 0) and (a / b < 1000):
                    return a