ShriRam Changed status to publish August 18, 2023
rev=0;
n=int(input(“enter the number”));
n1=n
while n>0:
rem= n%10;
rev=rev*10+ rem;
n= n//10;
if(n1==rev):
print (“number is palendrome “, n1);
else:
print (“number is not palendrome “, n1);
ShriRam Changed status to publish August 18, 2023