checking if two charactors are equal
if ( string [ i ] == string [ j ] and i != j ) : NEW_LINE INDENT flag = 1 NEW_LINE break NEW_LINE DEDENT if ( flag == 0 ) : NEW_LINE print ( string [ i ] , end = " " ) NEW_LINE