U E D R , A S I H C RSS

Reverse And Add/최경현

No older revisions available

No older revisions available



~cpp 
def main():
    a=str(raw_input('input Number:'))
    while True:
        a = int(a)+int(a[::-1])
        b=0
        b=str(a)
        if int(b)==int(b[::-1]) :
            print a
            break
        else : a=str(a)
    

if __name__ == '__main__' :
    main()
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:27:55
Processing time 0.0306 sec