Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding in the evaluate postfix notation using Stack #2598
Conversation
Adding in the evaluate postfix notation using Stacks one of the common use with simple stack question creating a new file for the data structure of stacks
Adding in the evaluate postfix notation using Stacks one of the common use with simple stack question creating a new file for the data structure of stacks
|
Please change the PR's title to something more meaningful. |
Sending in the PR again as the Previous request failed in pre commit
Made changes as per the required for fixing the failing pre-commits.
| @@ -1,12 +1,24 @@ | |||
| ''' | |||
cclauss
Oct 15, 2020
Member
This is called a docstring which explains the intent of this file. The docstring is used by pydoc if you run the command python3 -m pydoc data_structures/stacks/evaluate_postfix_notations.py
By converting this to a comment, this PR would remove that documentation.
This is called a docstring which explains the intent of this file. The docstring is used by pydoc if you run the command python3 -m pydoc data_structures/stacks/evaluate_postfix_notations.py
By converting this to a comment, this PR would remove that documentation.
|
https://docs.python.org/3/library/operator.html makes dealing with these probems much easier. |
Made changes as suggested by @cclauss
|
thanks, @cclauss for the detailed review. However, pre commits are still failing. I'll update and recommit |
fixed pre-commit fails
fixing pre-commit fails
Deleted trailing white spaces causing pre-commits to fail
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
|
@cclauss sir is there something else that needs to be fixed in this? |


Describe your change:
Adding in the evaluate postfix notation using Stacks
one of the common use with simple stack question
creating a new file for the data structure of stacks
Checklist:
Fixes: #{$ISSUE_NO}.