How to Check Palindrome Number in Python

How to Check Palindrome Number in Python

Here, you will get the example code to check palindrome number in python programming.

A number that can be read same as backward is called palindrome number. for example:

12321  is palindrome number

12342 is not palindrome number

Program Code to Check Palindrome Number in Python

Output 1

Enter an integer : 12321
The number is palindrome

Output 2

Enter an integer : 1234
The number is not palindrome

 

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top