Use eval() function. The eval() function evaluates the specified expression, if the expression is a legal Python statement, it will be executed.
I have a list of expressions (+ - *):
["2 + 3", "5 - 1", "3 * 4", ...]
and I need to convert every expresion to expression = answer like this 2 + 3 = 5.
I tried just doing print(listt[0]) but it outputs 2 + 3, not 5. So how do i get the answer of this expression? I know that there is a long way by doing .split() with  every expression, but is there any other faster way of doing this?
UPD: I need to use only built-in functions
How to solve expressions from a list?