U E D R , A S I H C RSS

Reverse And Add/민경

Describe ReverseAndAdd/민경 here.
~cpp 
k = input('몇개입력할거니?')
n = [input('입력해보아') for i in range(k)]
for i in range(k):
    for j in range(1000):
        s=str(n[i])
        s=s[::-1]
        if n[i]==int(s):
            print j,n[i]
            break
        n[i]=n[i]+int(s)
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-05-27 07:09:19
Processing time 0.1990 sec