Mark those characters which are not present in both lowercase and uppercase
mp = { } NEW_LINE for i in range ( 26 ) : NEW_LINE INDENT if ( small [ i ] and caps [ i ] == 0 ) : NEW_LINE INDENT mp [ chr ( i + 97 ) ] = 1 NEW_LINE DEDENT elif ( caps [ i ] and small [ i ] == 0 ) : NEW_LINE INDENT mp [ chr ( i + 65 ) ] = 1 NEW_LINE DEDENT DEDENT