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 A appears 3 times in the list, B 5 times, etc. How can I return the maximum number of reps and their key? That is, for this dictionary would have to return: 10, D .