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.