题解 | #提取不重复的整数#
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
s = input()
li = list(s[::-1])
li0 = []
for i in li:
if i not in li0:
li0.append(i)
print(''.join(li0))
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
s = input()
li = list(s[::-1])
li0 = []
for i in li:
if i not in li0:
li0.append(i)
print(''.join(li0))
相关推荐