题解 | #删除字符串中出现次数最少的字符#
删除字符串中出现次数最少的字符
http://www.nowcoder.com/practice/05182d328eb848dda7fdd5e029a56da9
from collections import Counter
while True:
try:
i = input()
d = dict(Counter(i))
dd = min(d.values())
l = [k for k,v in d.items() if v == dd]
print(''.join([j for j in i if j not in l]))
except:
break