题解 | #提取不重复的整数#
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
字符串2.
while True:
try:
a = int(input())
s = str(a)[::-1]
l = []
res = ''
for i in s:
if i not in l:
l.append(i)
for i in l:
res+=i
print(res)
except:
break