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

  1. 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

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!