This program defines a function "expressionEvaluator" (whose parameter is a space delimited string), that evaluates simple mathematical expressions, specifically supporting the two operator types of addition and subtraction for only integers.
- In your terminal, enter " python Evaluator.py".
- A prompt will appear to ask for your expression.
- Type your expression with only INTEGERS and the ADDITION and SUBTRACTION operators, each separated by a space.
- Press Enter to see your result.