Python  Program to input a string and check whether it is palindrome or not


original=input('Enter Any Number : ')

reverse=original[::-1]

if original==reverse:

 print('The number you entered is a palindrome number!')

else:

 print('The number you entered is not a palindrome number!')


Comments

Some popular posts

Python Program that computes the net amount of a bank account based a transaction log from console input.

Python Program which will find all such numbers between 1000 and 3000 (both included) such that each digit of the number is an even number.The numbers obtained should be printed in a comma-separated sequence on a single line