Find the largest palindrome made from the product of two 3-digit numbers.
Implement largest_palindrome_product(digits) and call it with digits = 3 for the requested result. Return the palindrome as an integer. The parameter generalizes the same calculation to factor pairs with the specified number of digits.
Input: An integer digits, where 1 <= digits <= 3.
Output: The largest palindromic product of two positive integers having exactly digits digits.
digits decimal digitsdef largest_palindrome_product(digits):