Question: Write a Python Program using function to check whether a Number is a Palindrome or not. A palindrome is a number or a string which
- Write a Python Program using function to check whether a Number is a Palindrome or not.
A palindrome is a number or a string which is similar when read from the front and from the rear. For example: 121 or 453354 or 45354.
Sample Input: 15351
Sample Output: This number is a palindrome.
Sample Input: 15918
Sample Output: This number is not palindrome.
***You have to use a function for the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
