Question: It has been tradition in Shiela’s home to hang a sock above the fireplace for each member of the family. This year, she placed a cinnamon ball every day in the socks for 5 of her family members. How long can she do this if she bought 50 cinnamon balls?

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

Answer: 10