What’s wrong with my solution?
When I gave it the four expressions given in the problem statement, it only evaluated the first one. Where’s the rest?
Also, why do you simplify the expression twice rather than print the result of the first simplification?