This is a Python program which checks whether a number is palindrome or not . |
PROGRAM :
num = int(input('Enter any number : ')) if str(num) == str(num)[::-1]: print("Given number is a PALINDROME number") else: print("Given number is NOT a palindrome number")
OUTPUT :
Python - Palindorme or not |
Python - Palindorme or not |
Similar Programs :
C program to check whether a number is Palindrome or not
Cpp program to check whether a number is Palindrome or not
Java program to check whether a number is Palindrome or not