The Problem is, we are given a number and we need to write a python program to check whether the given number is palindrome or not.

Palindrome Number: A number is said to be a palindrome if its reverse is equal to itself.

Palindrome number in Python

All we need to do is to first, find the reverse of the number and then compare it with the original number. If both are equal then the number is Palindrome else it is not.

Python Program

Output

Python program to check Palindrome

Leave a Reply

Close Menu