Question: Python v3 with wing ide Write a program called palindromeprime.py' that finding all palindromic primes between two integers supplied as input (start and end points
Write a program called palindromeprime.py' that finding all palindromic primes between two integers supplied as input (start and end points are excluded) A palindrome number is a number that reads the same from the front and the back. Examples are: 212, 44,9009,4567654. To calculate whether a number is a palindrome or not, you can first reverse the number (using the % operator and a loop, or a string) and then check for equality. A prime number is one that is only divisible by 1 and itself. Examples are: 3, 11, 313. Some examples of palindromic primes are: 11, 191, 313 Sample I/O: Enter the start point N Enter the end point M 200 800 The palindromic primes are: 313 353 373 383 727 757 787 797
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
