Skip to content

Conversation

@Phoenix-2256
Copy link

The original code does not recognize a situation where the problems contain only '+' or only '-' as the operator. Although this condition is completely fair, the code gives an error message. Now, it will recognize length = 1 with either + or - as a legitimate scenario and will continue the function rather than returning error.

The original code does not recognize a situation where the problems contain only '+' or only '-' as the operator. Although this condition is completely fair, the code gives an error message. Now, it will recognize length = 1 with either + or - as a legitimate scenario and will continue the function rather than returning error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant