<reponame>dirghagarwal/python
print("THIS PROGRAM IS TO FIND IF A NUMBER IS PALINDROME OR NOT")
a=int(input("Enter number:"))
temp=a
rev=0
while(a>0):
    dig=a%10
    rev=rev*10+dig
    a=a//10
if(temp==rev):
    print("The number is a palindrome!")
else:
    print("The number isn't a palindrome!")
print("THIS PROGRAM IS TO FIND IF A NUMBER IS PALINDROME OR NOT")
a=int(input("Enter number:"))
temp=a
rev=0
while(a>0):
    dig=a%10
    rev=rev*10+dig
    a=a//10
if(temp==rev):
    print("The number is a palindrome!")
else:
    print("The number isn't a palindrome!")