a = input() a_list = list(a) b_list = list(set(a_list)) b_list.sort() # 提前把字符按ascii码顺序排列好,后面就只需要按字典的值排序一次就可以了 c_list = {} for i in b_list: c_list[i] = a_list.count(i) d_dict = dict(sorted(c_list.items(), key= lambda x: x[1], reverse=True)) e_list = l...