The input expression has to be in a + b and a - b form and the question asks to solve those equation.
(there is space before and after + and -)
So an example would be:
expression: 2.7 + 1000
1002.7
I only got to this point:
import math
text = input("expression: ")