1 comment:

  1. a=int(raw_input("enter the number "))
    s=0
    t=a
    while a>0:
    r=a%10
    s=s*10+r
    a=a/10
    print s
    if s==t:
    print "palindrome"
    else:
    print "not palindrome"


    ReplyDelete