/RPNProcessor

An RPN (Reverse Polish Notation) expression processor using a stack.

Primary LanguagePython

RPN Processor

An RPN (Reverse Polish Notation) expression processor using a stack.

Requirements

  • Python 3.8
  • A file on the project directory named input.stk with the operands/operators separated by lines

How to run

  1. On a terminal on project directory, run:
python main.py
  1. The result will appear on the console.