题解 | #提取不重复的整数#
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
a = int(input()) #接收整型输入
b = str(a)[::-1] #字符串反转
res = [] #建立空结果列表
for i in b: #按顺序写入res
if i not in res:
res.append(i)
print(''.join(res))#把列表按字符串输出

