Check if sum becomes odd
if ( add % 2 == 1 ) : NEW_LINE INDENT break NEW_LINE DEDENT j += 1 NEW_LINE if ( add == 0 ) : NEW_LINE ans *= 10 NEW_LINE else : NEW_LINE digit = int ( math . floor ( math . log10 ( add ) + 1 ) ) NEW_LINE ans *= ( pow ( 10 , digit ) ) NEW_LINE