Skip to content

Duplicate solutions for postfix notation evaluation. #8724

Closed
@amirsoroush

Description

@amirsoroush

Feature description

Hi,
I noticed there are two files for evaluating postfix notation which are:

  1. ...stacks/evaluate_postfix_notations.py
  2. ...stacks/postfix_evaluation.py

The latter has bunch of print statements explaining the steps which is pretty useful for educational purposes but not in production. (It can be changed to have a verbose=True parameter for prints for example.)

Is having these two files intentional or we should combine them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions