题解 | #提取不重复的整数#
提取不重复的整数
https://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
a=int(input()) s={} while a>1: s[int(a%10)]=s.get(int(a%10),0) a=a/10 for i in s: print(i,end='')
提取不重复的整数
https://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
a=int(input()) s={} while a>1: s[int(a%10)]=s.get(int(a%10),0) a=a/10 for i in s: print(i,end='')
相关推荐