To store the modified string
res = " " NEW_LINE for i in range ( lenn ) : NEW_LINE INDENT if ( strr [ i ] != ' ) ' and strr [ i ] != ' ( ' ) : NEW_LINE INDENT res += ( strr [ i ] ) NEW_LINE DEDENT DEDENT return res NEW_LINE