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
Post a Comment