Accept a string or expression and then compute the final answer of the expression.