U E D R , A S I H C RSS

Reverse And Add/민경

No older revisions available

No older revisions available



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 2021-02-07 05:27:54
Processing time 0.0274 sec