Question: Sandy worked 45 hours in the last 5 days. Assuming that she worked the same amount of hours each day, how long did she work each day ?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve(45/5-x)
print(answer)

Answer: 9