Question: Sara grew 4 onions, Sally grew 5 onions, and Fred grew  9 onions. How many onions did they grow in all ?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve(4+5+9-x)
print(answer)

Answer: 18