题解 | #提取不重复的整数#
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
mystr = str(input())[::-1] # 倒序输入的数字
L=[]
for x in mystr:
if x not in L: #C++用vector理解
L.append(x)
else:
continue
print(''.join(L))
提取不重复的整数
http://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1
mystr = str(input())[::-1] # 倒序输入的数字
L=[]
for x in mystr:
if x not in L: #C++用vector理解
L.append(x)
else:
continue
print(''.join(L))
相关推荐
小浪_Coding:你问别人,本来就是有求于人,别人肯定没有义务免费回答你丫, 有点流量每天私信可能都十几,几十条的,大家都有工作和自己的事情, 付费也是正常的, 就像你请别人搭把手, 总得给人家买瓶水喝吧