题解 | #统计大写字母个数#
删除字符串中出现次数最少的字符
http://www.nowcoder.com/practice/05182d328eb848dda7fdd5e029a56da9
用 numerate方法可以不用字典
while True: try: s = input() count = [s.count(i) for i in s] new = [] for i,v in enumerate(count): if v == min(count): continue else: new.append(s[i]) print("".join(new)) except: break