Create a string of characters with odd occurrences
i = ' a ' NEW_LINE while i <= ' z ' : NEW_LINE INDENT if i in cnt and cnt [ i ] % 2 != 0 : NEW_LINE INDENT R += i NEW_LINE DEDENT i = chr ( ord ( i ) + 1 ) NEW_LINE DEDENT l = len ( R ) NEW_LINE j = 0 NEW_LINE