Skip to content

Conversation

TORUS0818
Copy link
Owner

continue
if not brackets_stack:
return False
if close_to_open[char] != brackets_stack.pop(-1):
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

リストのドキュメントを読んでいて気づきましたが、ここpop()で大丈夫ですね。

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