Print the occurences of every character
for i in range ( 26 ) : NEW_LINE INDENT if len ( mp [ i ] ) == 0 : NEW_LINE INDENT continue NEW_LINE DEDENT print ( " Occurences ▁ of : " , chr ( i + ord ( ' a ' ) ) , " = " , end = " ▁ " ) NEW_LINE for j in mp [ i ] : NEW_LINE INDENT print ( " [ " + str ( j [ 0 ] ) + " ▁ " + str ( j [ 1 ] ) + " ] ▁ " , end = " " ) NEW_LINE DEDENT print ( ) NEW_LINE DEDENT