Question: Dana earns $13 per hour. She worked 9 hours on Friday, 10 hours on Saturday, and 3 hours on Sunday. How much money did Dana earn in all?

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

Answer: 286