Question: Python programming. Question: Write a program to take the product of all numbers between 100 and 199 inclusive (e.g. 101 x 189 =19089), and figure

Python programming. Question: Write a program to take the product of all numbers between 100 and 199 inclusive (e.g. 101 x 189 =19089), and figure out if that product is a palindrome or not. For each palindrome found, the program should print an output message stating which numbers resulted in that product. For example, consider the product of (101 * 101 = 10201). The result, 10201, is a palindrome because it is the same number backwards and forwards. A number such as 19089 is not a palindrome, since reading it backwards yields 98091. Hint: To test if a number is the same backwards and forwards, you can convert it to a string, reverse that string and then compare the two.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!