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