题解 | #提取不重复的整数#
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
number = int(input()) ans = [] number = str(number) for i in range(len(number)): ans.append(number[i]) ans.reverse() ans = list(dict.fromkeys(ans)) ans = ''.join(ans) print(ans)