1 comment:

  1. a=int(raw_input("number is "))
    s=0
    while a>0:
    r=a%10
    s=s*10+r
    a=a/10
    print s
    number is 123
    321

    ReplyDelete