Question: Tim got 3 nickels and 13 dimes for shining shoes, and in his tip jar found 7 dimes and 9 half-dollars. How much money did Tim get?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve((3*0.05)+(13*0.1)+(7*0.1)+(9*0.5)-x)
print(answer)