What is the largest palindrome product of 3 digit numbers?

What is the largest palindrome product of 3 digit numbers?

Two loops each range from 100 to 999 for 3-digit number. Then we check the product and record the maximum palindrome. The answer is: 906609.

What is the largest palindrome made by the product of two and three digit numbers?

993*913 = 906609 is also a (larger) palindrome.

What is the greatest product of a 3 digit number?

1 Expert Answer The greatest 3-digit number you can have is 999. The greatest 1-digit number you can have is 9. Multiply these two numbers to get your greatest product of the numbers. The product is 8,991.

What is the longest palindrome number?

The longest known palindromic word is saippuakivikauppias (19 letters), which is Finnish for a dealer in lye (caustic soda). A palindrome is a word or phrase where the letters read backwards, give the same word or phrase, eg: the phrase ‘Madam I’m Adam’, with the reply ‘Eve’.

What is the product of the smallest and the greatest 3 digit number?

Smallest three digit number =100 and greatest three digit number=999 , Step-by-step explanation: For 100 = 2*5*5 and for 999=3*3*111 are the product of prime.

Which is the largest palindrome made from two 3 digit numbers?

In this problem, we will find the largest palindrome that is a product of two three-digit numbers. In brute force, there are 810000 comparisons which we have reduced to 362 comparisons based on three deep insights. This is a dramatic improvement. A palindrome is a number where the order of digits is same where it is read from front or back.

How to write a program to find the largest palindrome?

I am given a task to write a program to find the largest palindrome made from the product of two 3-digit numbers. How can I improve this code?

How to return the result of a palindrome in Python?

In your check_palindrome function you can directly return the result of the comparison: As @RobAu said in the comments, you should keep only the current maximum product, instead of building a (potentially very large) list of all products.