Question: Sandy went to the mall on Saturday to buy clothes. She paid $9.24 on pants and $8.25 on a shirt with a $20 bill. How much money did Sandy get in change?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve(9.24+8.25+x-20)
print(answer)