- Operations are always performed in PEDMAS order
- Divisions must always result in an integer
The ExpressionSolver()
object expects a config dictionary
, containing the following keys:
allow_consecutive_sum_and_sub_operators
:True
orFalse
allow_leading_zeros
:True
orFalse