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