# Program to check the given number is a palindrome or not '''Writea Python program to check the given number is a palindrome or not. or    Write a program to check thegiven number is a palindrome or notusing Python '''num=int(input("Enter a number:"))num1=numnum2=0while(num!=0):   rem=num%10   num=int(num/10)   num2=num2*10+remif(num1==num2):        print("It is Palindrome")else:        print("It is not Palindrome") 