3
If I have the dictionary:
meu_dic = {A:3, B:5, C:0, D:10, E:2}
resulting from:
meu_dic = {i:lista.count(i) for i in lista}
I know that To appears 3 times in the list, B 5 times, etc.. How can I return the maximum value of repetitions and the respective key? That is, for this dictionary I would have to return: 10, D.