Python题解 | #提取不重复的整数#
提取不重复的整数
https://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
st1 = input()[::-1]
st2 = ''
for i in st1:
if i not in st2:
st2 += i
print(st2)
提取不重复的整数
https://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
st1 = input()[::-1]
st2 = ''
for i in st1:
if i not in st2:
st2 += i
print(st2)
相关推荐