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